• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

PHP script can't communicate with unzip/gzip

A

AlterTag

Guest
Hello to advanced users and Plesk Support !
I'm asking a help.

I have Plesk 10.4.4 Update #25 on Linux CentOS 2.6.32-220.7.1.el6.x86_64, dedicated server, root shell access available.
PHP is set to use FastCGI.
PHP settings for customers disabled to use only main /etc/php.ini
Safe mode OFF.
All other settings are default, fresh installation made.
Physically unzip and gzip binaries are available in /usr/bin

Problem description
I have a simple PHP script I've used before on many shared hostings without a problem.
But now after installation it does not see (and, accordingly, does not perform) UNZIP and GZIP operations.
All other functions of the script work properly.
Installation path /var/www/vhosts/MYDOMAIN.com/httpdocs/

PHP script CONFIG file contains the following configuration for unzip/ungzip
$config_automationHandler = "php";

$config_automationUnzipPrograms = array();
$config_automationUnzipPrograms["unzip"] = "/usr/bin/unzip";
$config_automationUnzipPrograms["gzip"] = "/usr/bin/gzip";

(Also tested with same negative result)
$config_automationUnzipPrograms["unzip"] = "/usr/bin/unzip";
$config_automationUnzipPrograms["gzip"] = "/usr/bin/gunzip";

******
But PHP script Support Info shows that
Automation Handlers
php Available
curl Available
Automation Unzip Programs
unzip Not Available
gzip Not Available
**********

So, it can't unzip (or ungzip) the downloaded files.
Once again - I never met such problem on the shared hostings before (but all them were under cPanel).

Please, any ideas what settings in PHP or Apache or Plesk or Linux or whatever I could try to adjust to solve the problem

Thank you very much in advance !
 
Back
Top