Symptoms

Attempt to create a Linux Shared Hosting subscription fails with an error like below:

    There is no appropriate host for provisioning: IP Type: 'shared'; PHP paths: '/usr/bin/php-cgi:modules/libphp5.so:/usr/libexec/php4-cgi/bin/php:modules/libphp4.so'

Cause

  1. Necessary PHP versions were not installed on hosts.
  2. PHP versions were installed, but were not synchronized to OA.
  3. PHP as module is enabled in the service template, but prohibited by Apache configuration associated with the host.

Resolution

  1. Check attributes assigned to the Apache resource in the service template. Get the list of ready to provide Apache hosts with this attribute.
  2. Check which PHP versions are allowed in the service template and make sure appropriate PHP binaries are available on the Apache hosts found on previous step.
  3. Resync PHP version information for the hosts found on step 1 to OA as it is described in the documentation.
  4. If the service template includes PHP as module - check if it is allowed by Apache configuration: go to Services > Web Hosting > Manage Configurations, choose the Apache configuration that matches by attribute (see the documentation for more details) then go to PHP configuration.

    If necessary PHP version is not allowed as module - allow it and apply configuration.

Internal content

Link on internal Article