+ sed -i -e '/^;error_log = syslog/a error_log = /var/log/php.log' $php_ini
+ sed -i -e 's/display_errors =.*/display_errors = On/' $php_ini
+ sed -i -e 's/display_startup_errors =.*/display_startup_errors = On/' $php_ini
+ # create the log file and make it writable by apache
+ touch /var/log/php.log
+ chmod 666 /var/log/php.log