Table of Contens
You are either installing a new WordPress Website or updating the existing WordPress website. If you are facing the the error message “Non-zero exit status returned by script”, take a look to following solutions. This error message can have different reasons. In this article, I’ll show you a few possible causes.
Your PHP Version is wrong.
After checking the WordPress Version you can use the following instructions to check the PHP version on the Plesk hosting manager: Plesk: PHP version and configuration
<?php phpinfo();
Preferred domain is misconfigured (Plesk)
- www.yourdomain.com
- yourdomain.com
- none
This configuration can also be added via a .htaccess
file or in the Apache/nginx settings. If such a redirect takes place on your WordPress website, you have to be careful. Because WordPress has its own configuration when it comes to the preferred domain. It called Site/Home URL. You can find out more about Site URL in the following instructions: WordPress Adjust Site URL [2022]
So for a WordPress website, you should always set the preferred domain to “none” in Plesk or in the hosting settings so that it’s managed by WordPress.
Disable WordPress plugins
It could be a reason, because a WordPress plugin that you already installed, could have an error in it. This error can prevent the entire website from running. Deactivate all plugins with the following instructions: WordPress Disable plugins.
If this doesn’t help either, follow the instructions below: WordPress login fails solution.
I’m a WordPress expert. For professional support you can contact me using the following form: Contact me .