Skip to content

Apache and PHP Notes

  1. Restart apache with command line:
    /etc/init.d/apache2 restart
    (Apache 7.x:  sudo systemctl restart apache2)

  2. php.ini locaction
    /etc/php5/apache2
    (Apache 7.x :  /etc/php/7.2/apache2

  3. Apache error log location
    /etc/php5/apache2/php_errors.log

  4. Apache configuration file location
    /etc/apache2/apache2.conf
Tags: