Skip to content

apache

Xdebug for NetBeans

Add the following to php.ini [xdebug]xdebug.remote_enable = onxdebug.remote_handler=dbgpxdebug.remote_host=localhostxdebug.remote_port=9000xdebug.idekey=”netbeans-xdebug”xdebug.remote_autostart=onxdebug.profiler_enable = onxdebug.profiler_enable_trigger = on Might also need to add the following to php.ini:xdebug.remote_autostart=on

Apache and PHP Notes

Restart apache with command line:/etc/init.d/apache2 restart(Apache 7.x:  sudo systemctl restart apache2) php.ini locaction/etc/php5/apache2(Apache 7.x :  /etc/php/7.2/apache2 Apache error log location/etc/php5/apache2/php_errors.log Apache configuration file location/etc/apache2/apache2.conf