- Plesk for Linux
When creating a new subscription/domain in Plesk, the operation fails with the following error message:
PLESK_ERROR: Error: phpinimng failed: configuration test '/usr/sbin/php-fpm --test' failed with code 78, and message: ERROR: [/etc/php-fpm.d/www.conf:1] value is NULL for a ZEND_INI_PARSER_ENTRY ERROR: Unable to include /etc/php-fpm.d/www.conf from /etc/php-fpm.conf at line 1 ERROR: failed to load configuration file '/etc/php-fpm.conf' ERROR: FPM initialization failed
In some cases, the following error message appears on the Home page in Plesk:
PLESK_ERROR: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
The following error message is shown when accessing some webpages:
CONFIG_TEXT: comments starting with '#' are deprecated in unknown on line 1
This is a Plesk bug with ID PPPM-9483, which was fixed in Plesk Obsidian as PPP-38933.
Such behavior occurs after upgrading system PHP to 7.x version. PHP 7.x treats prefixes "#" and ";" differently.
Connect to the server via SSH.
Modify the file
2.1. Open the
www.conffile in a text editor. In this example, using the vi editor:
# vi /etc/php-fpm.d/www.conf
2.2. Replace the hash symbols "
#" with semicolons "
CONFIG_TEXT: ; Default www-pool configuration has been disabled by Plesk Panel.
; Pool configuration was saved in '/etc/php-fpm.d/www.conf.saved_by_psa'.
2.3. Save the changes and close the file.