Article ID: 115283, created on Dec 11, 2012, last review on May 10, 2014

  • Applies to:
  • H-Sphere 3.3
  • H-Sphere 3.4
  • H-Sphere 3.5

Symptoms

After the upgrade PHPMyAdmin does not load, it requires PHP 5.2+ (the error displayed in the browser).

Cause

PHPMyAdmin works under server (is not moved to any virtual host), so it inherits default server configuration.

Resolution

Only one PHP version can run as Apache module, either 4 or 5, in this case it's PHP4:
# cat /hsphere/local/config/httpd/httpd.conf.startup
LIBPHP4=yes


LIBPHP5=no


The solution here will be to switch the server to php_libphp5 and restart Apache.

Please note: if the server is used as Web server and PHP4 is required by some of the scripts, the workaround here will be to create separate virtual host for PHPMyAdmin, specify DocumentRoot as /hsphere/shared/apache/htdocs/phpMyAdmin and make it work as cgi/fastcgi.

2e39a5e5b1423cc126cf735bac076008 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 f90e90e234d2835301363089f6b828e5 3fce07d43dd909dcf7cad8a0e8c377eb f51a27b0a406fdfb3fcda8033c7f914d

Email subscription for changes to this article
Save as PDF