Plesk

Apache fails to start during upgrade/installation: Invalid command ‘php_value’, perhaps misspelled or defined by a module not included in the server configuration

Symptoms

Cause

Product issue:

  • #PPP-45093 "On CentOS 7 servers, Apache no longer fails to start after installing PHP from OS vendor via Plesk Installer."

    Fixed in:

Resolution

Please consider updating your server:

Workaround

If update is not possible for some reason you may try the following

workaround

  1. Connect to the server via SSH.

  2. As a workaround comment out with "#" the php_value directives:

    # sed -i 's/php_value/#php_value/g' /etc/httpd/conf.d/php.conf

  3. Restart Apache:

    # systemctl restart httpd.service

Exit mobile version