Applicable to:
- Plesk Onyx for Linux
- Plesk for Linux
Symptoms
-
Apache is not starting. Executing
apachectl configtest
orhttpd -t
show the following error message:CONFIG_TEXT: 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
suPHP
module in Tools & Settings > Apache Web Server Settings
Or
-
Log in to Plesk server using SSH.
-
Find strings with
php_value
in Apache config files and comment them:# 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"
Comments
0 comments
Please sign in to leave a comment.