• TechOps

    Need clarity?
    Chat with our experts now

    • Web Hosting SupportWeb Hosting Support
    • Helpdesk Support

      Skilled and professional 24/7 helpdesk support

    • Product Support

      Boost your product support with our expertise

    • Managed ServicesManaged Services
    • Server Management

      Don't let server issues slow you down. Let us manage them for you

    • Server Monitoring

      Safeguard your server health with our comprehensive monitoring solutions

    • Staff AugmentationStaff Augmentation
    • Hire an Admin

      Transform your business operations with our expert administrative support

    • Hire a Team

      Augment your workforce with highly skilled professional from our diverse talent pool

  • CloudOps

    Confused?
    Discuss with our sales team now.

    • Author ProfileAWS
      Well Architected Review
    • Author ProfileFinOps As a Service

      FinOps As a Service

    • Migrate

      Upgrade the journey: Migrate & Modernize seamlessly

    • Modernize

      Effortless CloudOps mastery for seamless cloud management

    • Optimize

      Efficient CloudOps: Boosting performance through optimization

    • Manage

      Simplify compliance complexities with our dedicated service

  • DevOps

    How Supportsages
    is creating an
    impact?

    View Casestudies
    • Author Profile24/7 DevOps As a Service

      Round-the-clock DevOps for uninterrupted efficiency

    • Author ProfileCI/CD Pipeline

      Automated CI/CD pipeline for seamless deployments

    • Author ProfileInfrastructure As a Code

      Crafting infrastructure with ingenious code

    • Author ProfileDevSecOps

      Integrated security in continuous DevOps practices

    • Author ProfileHire DevOps Engineers

      Level up your team with DevOps visionaries

    • Author ProfileConsulting Services

      Navigate success with expert DevOps consulting

  • SecOps

    Expert SecOps Services
    for any Scale

    • Author ProfileVAPT

      Vulnerability Assessment and Penetration Testing

    • Author ProfileSource Code Review

      Ensuring source code security and safe practices to reduce risks

    • Author ProfileSecurity Consultation

      On demand services for improving server security

    • Author ProfileSystem Hardening

      Reduced vulnerability and proactive protection

    • Author ProfileManaged SOC

      Monitors and maintains system security. Quick response on incidents

    • Author ProfileCompliance as a Service

      Regulatory compliance, reduced risk

  • Insights

    Explore our latest
    insights and resources

    Blog

    Explore our latest articles and insights

    Case Studies

    Read about our client success stories

  • Contact Us

  • About
  • Certifications
  • Life at Supportsages
  • Events
  • Contact
  • Careers
  • Blog

  • Dedicated Support Team
  • Quasi-dedicated Support Team
  • Hire a DevOps Engineer
  • Hire a Billing Support Staff
  • Per-ticket Support Plan
  • Managed Services

  • Microsoft Azure Expert
  • AWS Cloud Expert
  • Hire a developer
SS

SupportSages

Bites of wisdom @ work


Copyright © 2008 - 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy
Fixing zPanel blank-screen error

Fixing zPanel blank-screen error

Shafeer P

  • 3 min read
Fixing zPanel blank-screen error

Generating audio, please wait...

Sometimes our zPanel server management clients open support ticket saying that the zPanel homepage or some specific pages (like DNS manager) will shows a blank page (white screen). Since the ZPanel is written in PHP, most cases it will be related to permission issues of PHP functions(). The apache error log will give the specific reason of the problem.

Tracing the problem

Login to the zPanel server using SSH and monitor the apache error log in real-time using the command,

tail -f /var/log/apache2/error.log | grep xx.xx.xx.xx

Note : The IP xx.xx.xx.xx  is your public IP

Now open the zPanel page in web browser which shows error. Return to the error log screen and find the line matching as below,

[Sat Aug 17 03:35:54 2013] [error] [client xx.xx.xx.xx] PHP Warning: system() has been disabled for security reasons in /etc/zpanel/panel/modules/dns_manager/code/controller.ext.php on line 1674, referer: http://IP/?module=dns_manage

From the above error log, it is clear the the issue is related with the PHP function system(), which is disabled. Other functions like exec() will also cause the the white-screen errors.

Allowing the PHP function()
Edit the Apache Virtual Host configuration file,

vi /etc/zpanel/configs/apache/httpd-vhosts.conf

Note : Please keep a backup copy of httpd-vhosts.conf before editing in case if something went wrong!

Find the VirtualHost entry for the Control Panel,

# Configuration for ZPanel control panel.
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot “/etc/zpanel/panel/”
php_admin_value suhosin.executor.func.blacklist “passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg”
ServerName host.hosting.com
ServerAlias *.host.hosting.com
AddType application/x-httpd-php .php
<Directory “/etc/zpanel/panel/”>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# Custom settings are loaded below this line (if any exist)
</VirtualHost>

Have a look at the following line,

php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg"

The function system() is blacklisted, we have remove the entry ‘system’ to allow the execution. Save the configuration file httpd-vhosts.conf

Apply the changes

We need to restart the Apache server to apply the changes

service apache2 restart

Open the phpinfo page to confirm the ‘system’ function is removed from the

suhosin.executor.func.blacklist

 

 

For more assistance you can contact our zPanel server management team

  • Apache
  • Linux
  • Troubleshooting

Looking for AWS Experts?

We provide top-of-the-line custom AWS setup services tailored to your needs.

AWS LightSail Automatic Snapshots

AWS LightSail Automatic Snapshots
  • AWS
logo

Configure SSL on Tomcat 6/7/8/9

Configure SSL on Tomcat 6/7/8/9
  • Linux
logo

Enable TNEF on Linux Servers

Enable TNEF on Linux Servers
  • Howtos
  • Linux
  • Windows
logo

LightSail VPS: Enable Filesystem Quota

LightSail VPS: Enable Filesystem Quota
  • Linux
logo

Posts by Shafeer P

Shafeer is currently working as Senior System Engineer at SupportSages. He is capable of tackling time-consuming issues quickly with his advanced scripting abilities. His unchallenged expertise in solving complex issues in a cut-and-dried way makes him a dependable man in the team. The attitude and philosophy he shows on his workplace make his colleagues call him 'Mr. Perfectionist'. Furthermore, he is a travel and photography enthusiast, and loves to spend his leisure times on music and DIY arts.