Article ID: 116089, created on May 15, 2013, last review on Jul 29, 2015

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.4

Symptoms

PhpMyAdmin deployed on standard (not NG Hosting) POA-managed Linux Sahred Hosting server returns the 'Service Unavailable' error message when opened from POA Customer Control Panel for any subscription.

When you try to restart Apache on PhpMyAdmin host with the 'service pemhttpd restart' command, it gives a syntax error following by the following error message: Invalid command 'php_admin_flag'

Cause

PHP is configured to work as CGI, while PhpMyAdmin requires PHP to be loaded as Apache module.

Resolution

Correct Apache configuration for PhpMyAdmin host.

Log into POA Provider Control Panel and go to Service Director > Shared Hosting Manager > Apache Configuration.

If you have a separate Apache configuration for PhpMyAdmin servers, open it and configure PHP5 to run as Apache module on 'PHP Configuration > PHP Modes' tab:

Open 'General' tab and click 'Apply Changes'.

Note: if you make adjustments to load PHP5 module directly on PhpMyAdmin server and not through Apache configuration in POA Control Panel, next time Apache configuration is applied to hosts from POA your changes will be lost. If you do not have separate Apache configuration for PhpMyAdmin servers, we recommend that you create one so you can specifically target only PhpMyAdmin servers and other Apache hosts are not affected.

First, create a new provisioning attribute called e.g. 'PhpMyAdmin' and assign it to all hosts with PhpMyAdmin application. You can get additional information on provisioning attributes in the 'Managing Provisioning Attributes' chapter of POA Provider's Guide: http://download.pa.parallels.com/poa/5.4/doc/index.htm?fileName=1976.htm. Instructions on assigning attributes to hosts are also available in POA Provider's guide: http://download.pa.parallels.com/poa/5.4/doc/index.htm?fileName=54488.htm.

After PhpMyAdmin hosts have been configured with proper provisioning attributes, in POA Provider Control Panel go to Service Director > Shared Hosting Manager > Apache Configuration again and click the 'Add New Configuration' button. Call the new Apache configuration 'PhpMyAdmin' and select 'PhpMyAdmin' from the 'Provisioning Attribute' dropdown list.

In the 'Copy configuration from' dropdown list select your default Apache configuration. Leave 'Customize after creation' checkbox enabled.

Open the 'PHP Configuration' tab and configure PHP 5 to run as Apache module, then on the 'General' tab click 'Apply Changes'.

If you correctly configured and assigned provisioning attributes, this new Apache configuration will only be applied to PhpMyAdmin hosts and PHP 5 will be correctly configured to run as Apache module.

Search Words

The corresponding service is not available at the moment, trying it withing 2-3 minutes.

service unavailable

500 internal server error when Import file greater than 2.5MB through phpmyadmin

service unavailable phpmyadmin

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 ac82ce33439a9c1feec4ff4f2f638899 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF