Symptoms
-
Apache is not starting. Executing
apachectl configtest
 orhttpd -t
show the following error message:AH00526: 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 - suPHP module is installed.
Cause
suPHP does not support the php_value/php_admin_value directive.
Resolution
Warning:Â suPHP is not supported by Plesk
Disable
 module in Tools & Settings > Apache Web Server Settings
suPHP
Or
-
Log in to Plesk server using SSH.
-
Find strings with
in Apache config files and comment them:
php_value
# grep -ir ‘php_value’ /etc/httpd/ | cat
/etc/httpd/conf.d/php.conf:# php_value session.save_handler “files”
/etc/httpd/conf.d/php.conf:# php_value session.save_path “/var/lib/php/session”
Â