Plesk for Linux kb: technical
- Plesk for Linux
The following error is shown in Plesk > Home page:
PLESK_ERROR: 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
The database inconsistency.
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
# plesk repair web example.com
Please sign in to leave a comment.