Symptoms
-
The following error is shown in Plesk > Home page:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Syntax error on line 61 of /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: php_admin_value takes two arguments, PHP Value Modifier
- The PHP directives have empty values for the domain mentioned in the error in Domains > example.com > PHP Settings:
Click on the screenshot below to expand
Cause
The database inconsistency.
Resolution
-
Go to Domains > example.com > PHP Settings.
-
Press the Reset To Default button in front of any PHP directive that has an empty value:
-
Scroll down and press the OK button to apply the changes.
-
Log into the server via SSH.
-
Execute the command below to regenerate configuration files for
example.com
domain:# plesk repair web example.com