I am trying to install PHP using the WebPICmdline Tool on an IIS6/IIS7. It works fine when using the WebPi UI, but the cmdline tool tells me that this product is not available: 'WebpiCmdLine.exe /Products:PHP5': 'The following products are not available on this machine or already installed: PHP5'
Also the cmdline does not even list PHP where the UI does.
As I want to integrate PHP installation into an own installer any manual installation methods are out of the question and as the installation is working perfectly fine when using the UI I'm wondering why the cmdline tool does not even find PHP in its product
list.
So any suggestions are very much appreciated - or if there's another way to automate the PHP installation process (included IIS configuration) - I am very keen to hear about it :-)
yes, currently I'm working on it and the solution with the msi installer does the job although some steps have to be done 'manually' i.e. creation of the correct scriptmappings on Windows Server 2003. On 2008 the installer does every step that is necessary
to operate php applications on iis.
It would have been much easier with WebPi, cause it also does all necessary steps on Windows Server 2003, but I think I finally got it working :-)
enRGi
2 Posts
PHP Installation using WebPICmdline
Jul 29, 2011 07:37 AM|LINK
Hi,
I am trying to install PHP using the WebPICmdline Tool on an IIS6/IIS7. It works fine when using the WebPi UI, but the cmdline tool tells me that this product is not available:
'WebpiCmdLine.exe /Products:PHP5': 'The following products are not available on this machine or already installed: PHP5'
Also the cmdline does not even list PHP where the UI does.
As I want to integrate PHP installation into an own installer any manual installation methods are out of the question and as the installation is working perfectly fine when using the UI I'm wondering why the cmdline tool does not even find PHP in its product list.
So any suggestions are very much appreciated - or if there's another way to automate the PHP installation process (included IIS configuration) - I am very keen to hear about it :-)
iis webpi Installation php 5 webpicmdline
HCamper
8048 Posts
Re: PHP Installation using WebPICmdline
Jul 29, 2011 08:09 AM|LINK
Hello,
This is more of a Web Platform Forum Topic.
For items A - C a suggestion:
Have you looked at the http://windows.php.net/download/ Windows Installer GUI package as a method.
You can pass commands to the Windows Installer to Automate the install.
The MSDN Windows Installer Guide http://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx .
AFAIK restrictions for runtime redistribution apply you should contact the PHP net Team for EULA and other concerns.
For item D you should contact the Web Platform Team to get internals information.
HTH
Martin
Community Member Award 2011
HCamper
8048 Posts
Re: PHP Installation using WebPICmdline
Aug 11, 2011 08:30 AM|LINK
Hi,
Have you tried the suggestions ?
Martin
Community Member Award 2011
enRGi
2 Posts
Re: PHP Installation using WebPICmdline
Aug 11, 2011 08:43 AM|LINK
Hi Martin,
yes, currently I'm working on it and the solution with the msi installer does the job although some steps have to be done 'manually' i.e. creation of the correct scriptmappings on Windows Server 2003. On 2008 the installer does every step that is necessary to operate php applications on iis.
It would have been much easier with WebPi, cause it also does all necessary steps on Windows Server 2003, but I think I finally got it working :-)
Thanks for your suggestions!
René
HCamper
8048 Posts
Re: PHP Installation using WebPICmdline
Aug 12, 2011 06:29 PM|LINK
Hi @ Ren'e,
Glad to help :D.
You might contact the Web Platform Team and sign a NDA ( Non Disclosure Agreement)
and see if they would provide information for the Web Platform Tool.
Just a thought.
Martin
Community Member Award 2011
mattmaynard
1 Post
Re: PHP Installation using WebPICmdline
Aug 23, 2011 05:47 PM|LINK
quoting this line straight from the Startup/ConfigureIIS.cmd of the Windows Azure Accelerator for Web Roles:
"%~dp0Webpicmdline.exe" /products: WDeployNoSMO,PHP53,MVC3 /log:webpi.log /AcceptEula >> startup.log 2>> starterror.log
So maybe PHP5 wasn't correct. Anyway this worked for me.