How do I change var directory?

Stasenndb

New member
How do I change var directory?
Answer
8 Answers
  1. To change Apache’s root directory, run: cd /etc/apache2/sites-available.
  2. Then open the 000-default.conf file using the command: nano 000-default.conf.
  3. Edit the DocumentRoot option: DocumentRoot /path/to/my/project.
  4. Then restart the apache server: sudo service apache2 restart.
 

Tìm kiếm

Back
Top