Documentation

PHP

Configure PHP

Edit /etc/php5/apache2/php.ini and set the display_errors parameter to 'Off' and log_errors to "On".

display_errors = Off
log_errors = On
then restart apache to enable everything.
# /etc/init.d/apache2 restart

Test

# echo "<?php phpinfo();?>" > /var/www/index.php

Go to "/index.php" on your site and you should see a php status page.

Delete the test page when you are done.

# rm /var/www/index.php

Last modified:

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®