• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Plesk 11.0.9 - unable to view log files in panel

XAMeLeOH

New Pleskian
[SOLVED] Plesk 11.0.9 - unable to view log files in panel

Dear support team,

I unable to see site log files (access_log or error_log). The panel opens a new empty window with no record. In /var/log/sw-cp-server/error_log I got this:
2013-05-24 14:54:14: (mod_fastcgi.c.2746) FastCGI-stderr: PHP Fatal error: Call to undefined function gzopen() in /opt/psa/admin/htdocs/domains/logs/log_file_viewer.php on line 59

I've checked for compression modules
# /usr/bin/sw-engine-cgi -m | grep ^z
zip
zlib

After this I tried to run script with gzopen by sw-engine-cgi:
/usr/bin/sw-engine-cgi -a << EOF
<?php
var_dump(gzopen("/dev/null", "r"));
EOF
Result is:
Interactive mode enabled

X-Powered-By: PHP/5.3.10
Content-type: text/html

<br />
<b>Fatal error</b>: Call to undefined function gzopen() in <b>-</b> on line <b>2</b><br />

At the same time original php works well:
# php -r 'var_dump(gzopen("/dev/null", "r"));'
resource(5) of type (stream)

Can you please give me solution or any workaround?
 
Last edited:
Back
Top