Installing PHP on Windows-based Provisioning Gateway Host

Use the following instructions to install PHP on the Windows-based provisioning gateway host:

Windows Server 2008 (x86)

Install the PHP 5.2.13 package (http://download.automation.odin.com/poa/misc/win32/php-5.2.13-win32-installer.msi) on the host:

  1. Download the .msi file.
  2. Execute the .msi file. Follow the installation wizard steps.
  3. Mark checkbox next to the Do not setup a web server option on the Web Server Setup step.
  4. Select the Mcrypt, OpenSSL, SOAP, and Multi-Byte String features to be installed on the local hard drive on the Choose Items to Install step.
  5. Open the <php_installation_folder>\php.ini file for editing. Set the display_errors = On option. Make sure, that this line is active, not commented out. Save the file.
  6. Reboot the host.
  7. Make sure that php.exe can be executed from any directory: Open Command Prompt and execute the php.exe -v command. If command cannot be executed, add location of php.exe to the PATH system variable.

Windows Server 2008 (x64)

Install the PHP 5.2.13 package (http://museum.php.net/php5/php-5.2.13-Win32.zip) on the host:

  1. Download the .zip file.
  2. Extract the .zip file to the C:\Program Files (x86)\PHP directory.
  3. Add the C:\Program Files (x86)\PHP location to the value of the PATH System Variable.
  4. Go to the C:\Program Files (x86)\PHP directory and rename the php.ini-recommended to the php.ini.
  5. Open the php.ini file for editing and perform the following actions:
    1. Set the extension_dir = "ext" option.
    2. Uncomment the extension=php_mcrypt.dll line.
    3. Uncomment the extension=php_openssl.dll line.
    4. Uncomment the extension=php_soap.dll line.
    5. Uncomment the extension=php_mbstring.dll line.
  6. Save the file.