Installing PHP for IIS Using Microsoft Web Platform Installer Offline

Document ID : KB000031091
Last Modified Date : 14/02/2018
Show Technical Document Details

Supplement to documents: "Installing PHP for IIS Using Microsoft Web Platform Installer" and the CA SAM System Administration Guide. 

 

Step 1: Download and install the Microsoft Web Platform Installer to a computer that has Internet access and to the server where PHP is to be installed.

http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release

 

Step 2: Create a shared location on the server where PHP is to be installed: e.g. C:\WebPlatformInstallerOfflineCache

Verify you have access to the shared location from the computer with Internet access.

 

Step 3: Run the following command from the computer with Internet access where you installed MS WPI. This will provide a dump of all the available products.

C:\Program Files\Microsoft\Web Platform Installer>WebPICMD.exe /List /ListOption:All>C:\temp\dump.txt

For CA SAM you need the following products:

PHP54

PHPManager

SQLDriverPHP54IIS

 

Download Products

------------------------

Initiate the product download of PHP54, PHPManager and SQLDriverPHP54IIS from the computer that has Internet access. The downloaded products will copied to the shared location where PHP is to be installed.

 

C:\Program Files\Microsoft\Web Platform Installer>WebPICMD.exe /Offline /Products:PHP54 /Path:\\<CASAM_Server>\WebPlatformInstallerOfflineCache

C:\Program Files\Microsoft\Web Platform Installer>WebPICMD.exe /Offline /Products:PHPManager /Path:\\<CASAM_Server>\WebPlatformInstallerOfflineCache

C:\Program Files\Microsoft\Web Platform Installer>WebPICMD.exe /Offline /Products:SQLDriverPHP54IIS /Path:\\<CASAM_Server>\WebPlatformInstallerOfflineCache

 

Install Products

------------------

Initiate the product install of PHP54, PHPManager and SQLDriverPHP54IIS on the server where PHP is to be installed.

 

C:\Program Files\Microsoft\Web Platform Installer>WebPiCmd.exe /Install /Products:PHP54 /XML:\\CASAM_Server>\WebPlatformInstallerOfflineCache\feeds\latest\webproductlist.xml

C:\Program Files\Microsoft\Web Platform Installer>WebPiCmd.exe /Install /Products:PHPManager /XML:\\<CASAM_Server>\WebPlatformInstallerOfflineCache\feeds\latest\webproductlist.xml

C:\Program Files\Microsoft\Web Platform Installer>WebPiCmd.exe /Install /Products:SQLDriverPHP54IIS /XML:\\<CASAM_Server>\WebPlatformInstallerOfflineCache\feeds\latest\webproductlist.xml

 

Continue with PHP configuration and SAM installation per the CA SAM System Administration Guide.