"There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor"
After spending few hours of googling, found the following solution(Dicky-ProgrammingJoy blog):
- When installing the php-5.2.8-win32-installer.msi: Install it in C:\PHP, DO NOT use the "Program File" as default and DON'T select Web Sever.
- The reason is that IIS 5 doesn't like space character when mapping the PHP dll. Even if you put quotation for your path, you may still encounter "The specified module could not be found" message when opening a PHP page.
- Select the "Don't Install web server" option. I tried to install "IIS ISAPI Module" and it didn't work for me.
- Once PHP is installed, restart your computer.
- (Here is where I am not sure why I was able to install the IIS ISAPI Module, but this is what I did)
- Download the PHP5 source code.
- Copy the php5isapi.dll to the PHP directory
- Manually setup the IIS - PHP mapping (Follow the instruction from this link)
- Run the msi installer again, run the Repair. It is suggested by the PHP install.txt file (find in C:\PHP\) that running the Repair may fix the issue when installing web server extension.
- Afterward, it may ask you to restart your computer.
- Run the msi installer one more time, click Change, and select IIS ISAPI Module this time.
- You should now able to install the IIS ISAPI module properly
If you still have problem with the installation, please visit Dicky's Blog for further solutions.
No comments:
Post a Comment