Category: PHP
If the PHP version has been upgraded to 5.3.26, the apache will not start and will give the following error:
Starting httpd: Syntax error on line 31 of /etc/httpd/conf.d/php.conf: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration [FAILED
If you comment out the mentioned lines in the php configuration file, the apache will run and will start downloading the files from the site.
This is a bug in PHP 5.3.26 and needs the following lines added to the configuration file to get rid of the issue:
# # PHP is an HTML-embedded scripting language which attempts to make it # easy for developers to write dynamically generated webpages. # LoadModule php5_module modules/libphp5.so LoadModule php5_module modules/libphp5-zts.so
Restart apache.
Tags:
PHP