• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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