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/

  LoadModule php5_module modules/

Restart apache.



How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.