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
.msi
file. - Execute the
.msi
file. 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 String
features to be installed on the local hard drive on the Choose Items to Install step. - Open the
<
php_installation_folder>\php.ini
file for editing. Set thedisplay_errors = On
option. Make sure, that this line is active, not commented out. Save the file. - Reboot the host.
- Make sure that
php.exe
can be executed from any directory: Open Command Prompt and execute thephp.exe -v
command. If command cannot be executed, add location ofphp.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:
- Download the
.zip
file. - Extract the
.zip
file to theC:\Program Files (x86)\PHP
directory. - Add the
C:\Program Files (x86)\PHP
location to the value of the PATH System Variable. - Go to the
C:\Program Files (x86)\PHP
directory and rename thephp.ini-recommended
to thephp.ini
. - Open the
php.ini
file for editing and perform the following actions:- Set the
extension_dir = "ext"
option. - Uncomment the
extension=php_mcrypt.dll
line. - Uncomment the
extension=php_openssl.dll
line. - Uncomment the
extension=php_soap.dll
line. - Uncomment the
extension=php_mbstring.dll
line.
- Set the
- Save the file.