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:
- Download the
.msifile. - Execute the
.msifile. Follow the installation wizard steps. - Mark checkbox next to the Do not setup a web server option on the Web Server Setup step.
- Select the
Mcrypt,OpenSSL,SOAP, andMulti-Byte Stringfeatures to be installed on the local hard drive on the Choose Items to Install step. - Open the
<php_installation_folder>\php.inifile for editing. Set thedisplay_errors = Onoption. Make sure, that this line is active, not commented out. Save the file. - Reboot the host.
- Make sure that
php.execan be executed from any directory: Open Command Prompt and execute thephp.exe -vcommand. If command cannot be executed, add location ofphp.exeto 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:
- Download the
.zipfile. - Extract the
.zipfile to theC:\Program Files (x86)\PHPdirectory. - Add the
C:\Program Files (x86)\PHPlocation to the value of the PATH System Variable. - Go to the
C:\Program Files (x86)\PHPdirectory and rename thephp.ini-recommendedto thephp.ini. - Open the
php.inifile for editing and perform the following actions:- Set the
extension_dir = "ext"option. - Uncomment the
extension=php_mcrypt.dllline. - Uncomment the
extension=php_openssl.dllline. - Uncomment the
extension=php_soap.dllline. - Uncomment the
extension=php_mbstring.dllline.
- Set the
- Save the file.