Asked by:
WebPI wants to install PHP 5.3.28 when I requested only PHP 7.1.1

Question
-
User-1582581148 posted
Hello,
I am using the Web Platform Installer 5.0 to install PHP on a server running Windows 2012 R2 and have run into a very strange issue. When I launch the Web Platform Installer and click to install PHP 7.1.1 (x64) the installer indicates it is going to install 3 items, PHP 7.1.1, the Windows Cache Extension 2.0 (x64) for PHP 7.1 and the PHP Manager for IIS, this is exactly what I would expect. But as soon as I click install it starts to install 6 items, not 3, it seems that for some reason it wants to install PHP 5.3.28 as well as PHP 7.1.1. I do not want multiple versions of PHP installed and don't understand why it would install two versions when I only requested that it installs one.
Can anyone tell me how to get the Web Platform Installer to ONLY install PHP 7.1.1 (and it's two additional requirements) without installing PHP 5.3.28 also.
Thanks in advance.
Friday, February 10, 2017 10:58 PM
All replies
-
User-460007017 posted
Hi roakhn,
PHP 7.1.1 should not depend on 5.3.28. You could post the installation log so that I can help you find the reason. You could find the error log in: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\logs\webpi.
Best Regards,
Yuk Ding
Monday, February 13, 2017 2:04 PM -
User-1582581148 posted
Thank you for your response, here is the most current log file...
I am wondering if this has anything to do with the fact that at one point I did have an older version of PHP installed that I had installed with Web PI. But, we had not been using that IIS Server for 9 months so I found and followed some instructions for how to do a "factory refresh" of IIS, that included removing the versions of PHP I had previously installed manually (since I could not find a way to do it with WebPI itself.) I'm wondering if something is left over that I missed when I did the manual removal of PHP.
I really appreciate your help with this.
Monday, February 13, 2017 5:00 PM -
User-1582581148 posted
I'm not sure but I went digging through the log file myself and found a reference to an xml file that was downloaded. In that file I found something about Mysql 5.5 Dependencies. Mysql 5.5 was installed and I think it may be what is pulling in PHP 5.3.
Is there some documentation about how to completely remove everything that was installed with an older version of WebPI so I can start completely fresh? Or do you think I'm on the wrong track?
Monday, February 13, 2017 11:30 PM -
User-460007017 posted
Hi roarkh,
I try to install php 7.1 on my side and it didn't popup the dependency for PHP 5.3. My machine have installed PHP 5.3 before so I'm not sure whether the dependency is necessary.
You could remove the old version PHP in IIS following the steps in this link:
Maybe finish the installation first then remove the older version could be a choice.
Best Regards,
Yuk Ding
Tuesday, February 14, 2017 9:44 AM -
User-1582581148 posted
I've already removed the old version of PHP, I also just uninstalled Mysql and the Mysql connector thinking they were causing the problem but even so the WebPI installer still wants to install an old version of PHP I don't want. How can I find out what PHP 5.3 is being pulled in by?
Tuesday, February 14, 2017 8:48 PM -
User-460007017 posted
Hi roarkh,
Maybe just install the dependent feature then install PHP one by one. Then check the log which feature is requiring the PHP 5.3.28. Maybe some feature in web platform installer has been set to target hte 5.3 by default.
Best Regards,
Yuk Ding
Thursday, February 16, 2017 8:28 AM -
User881539047 posted
Having the same issue with PHP Manager Complaining about php 5.3.28 via webPI on server 2012. Glad to see after 4 years the problem is still there. What did you do to fix it?
Tuesday, May 18, 2021 2:39 PM