Article ID: 121190, created on Apr 19, 2014, last review on May 16, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows


Wordpress installation on domain fails with the error:

    Error:  Installation of WordPress at domain failed.  Non-zero exit status returned by script.

On Linux-based systems the following can be found in /var/log/plesk/panel.log:

PleskUtilException: '/usr/local/psa/admin/bin/sappmng' '--run-application-script' '--script-file-name=configure' '--script-name=install' '--script-language=php' '--user-name=dvm01' '--application-full-name=file:////usr/local/psa/var/apspackages/WordPress-3.9-32c3eb5956-c2f6-003e-c/cache' failed with code 1.
Unable to execute SQL statement (
DROP TABLE IF EXISTS `wp_links`): Table 'wp_links' was not locked with LOCK TABLES

On Windows the php_error.log contains the following error:

Failed to detect php setting value (safe_mode):

Failed to detect php extension (mysql): Failed to execute request: The requested URL returned error: 500 Internal Server Error

[2015-02-25 16:25:05] PleskUtilException: "C:\Program Files (x86)\Parallels\Plesk\admin\bin\sappmng" --run-application-script "--script-filename=configure" "--script-name=install" "--user-name=MediaAdmin" "--application-full-name=file:///C:\Program Files (x86)\Parallels\Plesk\var\apspackages\apsD23B.tmp.zip340af8dc-6ff9-9221-94\cache" "--fsa-xml-file=C:/Program Files (x86)/Parallels/Plesk/PrivateTemp/fsa16FB.tmp" failed with code

[2015-02-25 16:25:05] ERR [panel] Script execution failed: <br />
<b>Parse error</b>:  syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>C:\Program Files (x86)\Parallels\Plesk\var\apspackages\apsD23B.tmp.zip340af8dc-6ff9-9221-94\cache\scripts\idna_convert.class.php</b> on line <b>58</b><br />


  1. In file scripts/schema.sql of Wordpress, there was following piece:

    /*!40000 ALTER TABLE `@@DB_MAIN_PREFIX@@comments` DISABLE KEYS */;
    INSERT INTO `@@DB_MAIN_PREFIX@@comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES
    (1, 1, 'Mr WordPress', '', '', '', now(),now(), 'Hi, this is a comment.\nTo delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.', 0, '1', '', '', 0, 0);
    -- Table structure for table `@@DB_MAIN_PREFIX@@links`

There is no "UNLOCK TABLES" option in the end. That is why Wordpress cannot access the table after this part of code.


  1. Clear Application cache in Plesk Control panel->Tools and Settings->Application Vault->Clear Cache.
  2. Install new build of Wordpress 3.9-build 33 though Plesk.

Search Words

Error installing wordlress


L'installazione di WordPress su non è riuscita. Non-zero exit status returned by script.

Error: Installation of WordPress

aps wordpress package error

Non-zero exit status returned by script

Non-zero exit status

Wordpress wil not install

wordpress error

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 85a92ca67f2200d36506862eaa6ed6b8 46a8e394d6fa13134808921036a34da8 bd7fc88cf1b01f097749ae6f87272128 742559b1631652fadd74764ae8be475e e335d9adf7edffca6a8af8039031a4c7 ed7be2b984f9c27de1d2dc349dc19c6d a766cea0c28e23e978fa78ef81918ab8 514af229ae32522202a910a2649c80fb

Email subscription for changes to this article
Save as PDF