- Plesk 12.5 for Linux
While updating setting in
Domains > example.com > Hosting Settings > Preferred domain
a warning related to failed
Warning: Unable to configure "WordPress". The following problems were found: Non-zero exit status returned by script. Output stream: 'PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /opt/psa/var/apspackages/<package_name>/cache/scripts/db-util.php:66
instance was originally installed from the APS package version 4.2 or 4.3 and updated using the
or newer is used on the domain.
instance was updated, the APS package itself was not, which leads to the situation when
tries to configure all instances even for additional domains. This is Plesk bug with ID #
which will be fixed in future updates.
As a workaround:
1. Determine which Wordpress instances give this error and be sure that they have an old APS package.
This can be performed in Tools & Settings > Application Vault .
2. Make a backup of instances files (
file of the
folder would be sufficient) and database dumps.
# cat /usr/local/psa/admin/conf/panel.ini
enable = off
4. Determine the latest version of the Wordpress APS package (instances will be updated to this version).
5. Modify configure script of this APS package in
6. Update appropriate APS instances via Plesk GUI.
7. Replace files of instances by files from previously backed up
from the version 7.0 to an older one for the Wordpress instances installed via APS (originally version 4.2 or 4.3).