Search Engine: Elastic

Article ID: 114300, created on Jul 6, 2012, last review on May 11, 2014

  • Applies to:
  • Operations Automation


It is not possible to install APS Application of External Provisioning type. The similar output is observed in task log:
env: php: No such file or directory
Instance of application with id $ID and version '$VER' can not be provided: no hosts with attributes: external provisioning.


  1. Provisioning attributes assigned to the APS resource are not configured correctly to point to the wrong Provisioning Gateway Host (PGH)
  2. The Provisioning Gateway Host is not marked as Ready to Provide.
  3. PHP engine is not installed correctly on the Provisioning Gateway Host.

In most cases APS application of External Provisioning type contains PHP scripts which should be executed during application installation, re-configuration, upgrade or removal. During operation with application instance POA uploads PHP scripts from APS package on the Provisioning Gateway Host and runs there. So, if provisioning attributes assigned to APS application resource point to the wrong Provisioning Gateway Host or PHP does not function properly on the host (e.g. PHP is not installed at all or PHP binary is placed into wrong directory) the problem will arise.


Verify the following aspects:

  1. The External Provisioning Attribute assigned to the APS application resource type in POA points to the Provisioning Gateway Host which has PHP interpreter installed and working properly.
  2. The Provisioning Gateway Host is marked as Ready To Provide.
  3. The Provisioning Gateway Host meets the hardware and software requirements provided below.

To check whether PHP engine works correctly on the Provisioning Gateway Host perform the following actions:

  1. Log into the Provisioning Gateway Host
  2. Try to run PHP binary, in case PHP installed correctly and works you will see something like this:

Linux: # php -v
PHP 5.2.17 (cli) (built: Oct 28 2011 17:34:26)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

Windows: C:\>php -v
PHP 5.2.17 (cli) (built: Jan  6 2011 17:28:41)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

If the commands above do not work properly try to put PHP interpreter binary into the proper folder:

  • Linux: /usr/bin/php
  • Windows: C:\PHP5\php.exe

Hint. To find the proper location for PHP binary on Windows Provisioning Gateway Host do the following:

  • Log into POA Provider Control Panel
  • Find the Provisioning Gateway host (depending on host nature it may be located in different screens in POA CP):
    • Top > Deployment Director > Server Manager > Hardware Nodes
    • or
    • Top > Service Director > Virtuozzo Manager > VPSs
  • Click on the found Provisioning Gateway Host
  • Switch to the Packages tab
  • Click on the  icon right to the PHP package
  • Switch to the Package properties tab
  • The parameter The full path to install dir (php.install.full.path) contains the name of the folder where PHP binary should be located on Windows server (put PHP binary to this folder)

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF