Asked by:
Can't Install PHP

Question
-
User-929643862 posted
When installing PHP from Web Platform installer I get serveral errors.
First for the RunPHPHelper
This product did not download successfully: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS seucre channel.
For the rest of the PHP apps I get can't be installed becuse a product that it depends on did not install succesfully.
I'm running windows 2012 R2 I had previoulsy installed MySQL without issue. I get the same result for PHP 5.6.0 and 5.3.28.
Log is below
DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9842185
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9842185 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Expires: Tue, 10 Feb 2015 18:39:19 GMT
Location: https://www.microsoft.com/web/webpi/5.0/webproductlist.xml
Server: Microsoft-IIS/8.5
X-AspNet-Version: 2.0.50727
Set-Cookie: MC1=GUID=e44eeb2cd9922343b40153b190e0e034&HASH=2ceb&LV=20152&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Tue, 10 Feb 2015 18:40:19 GMT
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Fri, 06 Feb 2015 22:32:45 GMT
ETag: "903231d45c42d01:0"
Cache-Control: max-age=245
Date: Tue, 10 Feb 2015 18:40:19 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\-94260733.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Sat, 07 Feb 2015 06:30:56 GMT
ETag: "0a357a19f42d01:0"
Cache-Control: max-age=469
Date: Tue, 10 Feb 2015 18:40:21 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\472191766.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\preprocessor\472191766.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 08 May 2014 18:42:31 GMT
ETag: "26a51545ed6acf1:0"
Cache-Control: max-age=135
Date: Tue, 10 Feb 2015 18:40:22 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\-376748769.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-376748769.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Mon, 02 Feb 2015 17:50:31 GMT
ETag: "1a5deabc103fd01:0"
Cache-Control: max-age=151
Date: Tue, 10 Feb 2015 18:40:22 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\750739012.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\preprocessor\750739012.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 08 May 2014 18:42:32 GMT
ETag: "8285645ed6acf1:0"
Cache-Control: max-age=1
Date: Tue, 10 Feb 2015 18:40:23 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\528376018.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\preprocessor\528376018.xml'
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9842185' after preprocessing, location on disk: 'C:\Users\gradmin\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-94260733.xml'
DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395
DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 203
Content-Type: text/html; charset=utf-8
Expires: Tue, 10 Feb 2015 18:39:23 GMT
Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
Server: Microsoft-IIS/8.5
X-AspNet-Version: 2.0.50727
Set-Cookie: MC1=GUID=43600407f60c4549a3fa175c3c83a8db&HASH=0704&LV=20152&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Tue, 10 Feb 2015 18:40:23 GMT
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '22975'
DownloadManager Information: 0 : Number of bytes after possible decompression: '76249'
DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
DownloadManager Information: 0 : Ratings file loaded successfully
DownloadManager Error: 0 : WebClient download error. Uri: http://i.expression.microsoft.com/cc265059.100web(en-us,MSDN.10).png, Error: System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
DownloadManager Information: 0 : http://i.expression.microsoft.com/cc265059.100web(en-us,MSDN.10).png responded with 404
DownloadManager Information: 0 : Response headers:
HTTP/1.1 404 Not Found
Content-Type: text/html
Server: Microsoft-IIS/7.5
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Tue, 10 Feb 2015 18:40:28 GMT
Cteonnt-Length: 1245
Content-Encoding: gzip
Content-Length: 795
DownloadManager Error: 0 : WinInet download error. Uri: http://i.expression.microsoft.com/cc265059.100web(en-us,MSDN.10).png, Error: System.Net.WebException: Url 'http://i.expression.microsoft.com/cc265059.100web(en-us,MSDN.10).png' returned HTTP status code: 404
at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
DownloadManager Information: 0 : Adding product PHP 5.6.0 (PHP56) to cart
DownloadManager Information: 0 : Adding product PHP Manager for IIS (PHPManager) to cart
DownloadManager Information: 0 : Dependent product FastCGIIIS6 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product IIS60 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product VC9Redist does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product FastCGIIIS6 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product IIS60 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product VC9Redist does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product FastCGIIIS6 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product IIS60 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product VC9Redist does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Adding product 'PHP56'
DownloadManager Information: 0 : Adding product 'PHPManager'
DownloadManager Information: 0 : Adding dependency product 'PHP53
DownloadManager Information: 0 : Adding dependency product 'runphp
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download' to: C:\Users\gradmin\AppData\Local\Temp\tmp84D9.tmp
DownloadManager Error: 0 : Error while downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download'. Exception: System.Net.WebException: InternetOpenUrl returned 0x80072F06: Unknown error 12038.
at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
at Microsoft.Web.PlatformInstaller.InstallManager.WinInetDownloadInstallerFile(InstallerContext currentInstall, String& failureReason)
DownloadManager Warning: 0 : WinInet failure: InternetOpenUrl returned 0x80072F06: Unknown error 12038.. Retrying download for 'RunPHP Helper'
DownloadManager Information: 0 : WebClient downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download' to: C:\Users\gradmin\AppData\Local\Temp\tmp8586.tmp
DownloadManager Error: 0 : WebClient error while downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download'. Exception: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
at System.Net.WebClient.OpenRead(Uri address)
at Microsoft.Web.PlatformInstaller.InstallManager.WebClientDownloadInstallerFile(InstallerContext currentInstall, String& errorMessage)
DownloadManager Warning: 0 : WebClient failure: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.. Retrying download for 'RunPHP Helper'
DownloadManager Information: 0 : Downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download' to: C:\Users\gradmin\AppData\Local\Temp\tmp86EE.tmp
DownloadManager Error: 0 : Error while downloading file 'https://sourceforge.net/projects/phpinstallermsi/files/zip/runphp.zip/download'. Exception: System.Net.WebException: InternetOpenUrl returned 0x80072F06: Unknown error 12038.
at Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
at Microsoft.Web.PlatformInstaller.InstallManager.WinInetDownloadInstallerFile(InstallerContext currentInstall, String& failureReason)
DownloadManager Error: 0 : WinInet failure: InternetOpenUrl returned 0x80072F06: Unknown error 12038.. Download failure for RunPHP Helper.
DownloadManager Warning: 0 : Dependency failed for product 'PHP 5.3.28'. Skipping download.
DownloadManager Warning: 0 : Dependency failed for product 'PHP Manager for IIS'. Skipping download.
DownloadManager Warning: 0 : Dependency failed for product 'PHP 5.6.0'. Skipping download.
DownloadManager Information: 0 : Product PHP 5.3.28 had a dependency fail. Increasing install product to 2
DownloadManager Information: 0 : Product PHP Manager for IIS had a dependency fail. Increasing install product to 3
DownloadManager Information: 0 : Product PHP 5.6.0 had a dependency fail. Increasing install product to 4
DownloadManager Information: 0 : Product: runphp, Install Status: DownloadFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: PHP53, Install Status: DependencyFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: PHPManager, Install Status: DependencyFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: PHP56, Install Status: DependencyFailed-None, Install Time: 00:00:00
Tuesday, February 10, 2015 1:54 PM
All replies
-
User-162856161 posted
So the problem appears to be Sourceforge and SSL. I can hit the download for HTTP but not HTTPS. The error code being returned is around invalid certs/etc. I'm wondering if the SourceForge cert has expired. If this isn't fixed shortly, we can temporarily move the installer for this entry to HTTP
I'd prefer to wait until tomorrow before making that swap
thanks
Chris
Tuesday, February 10, 2015 2:23 PM -
User-1969898603 posted
I am having this issue too from Web Platform Installer 5.0. How do I install with HTTP instead of HTTPS?
Tuesday, February 10, 2015 3:47 PM -
User-162856161 posted
You can't - I have to make a change on our side to re-target the installer URL, but I don't want to do that just yet. I'd prefer to see if SourceForge fixes the certificate error that folks are seeing
Chris
Tuesday, February 10, 2015 3:48 PM -
User-1969898603 posted
Any idea how long it might take, or if there's a workaround you can suggest? As this is stopping business for me. Thank you
Tuesday, February 10, 2015 3:54 PM -
User-162856161 posted
In an absolute pinch, you can click the Direct Downlink on the WebPI "EULA" wizard page (the page that has the I Accept / I Decline buttons
Chris
Tuesday, February 10, 2015 3:56 PM -
User-1969898603 posted
Do I have to run the runphp.cmd file in any particular directory? I don't have IIS Express and the code inside the .cmd file seems to depend on C:\Program Files (x86)\IIS Express even though that doesn't exist for me. (IIS is installed and functions as it should)
Tuesday, February 10, 2015 4:03 PM -
User919920073 posted
I seem to be having the same problem. Has this been fixed yet?
Tuesday, February 17, 2015 1:03 PM -
User-162856161 posted
The problem was on the SourceForge side and not ours, so there was little we could do - apparently it came back up quickly last time, so hopefully it's back up by now
Chris
Wednesday, February 18, 2015 12:56 PM -
User1808484706 posted
Hello, I seem to have the same problem.
I was hooping that it was fixed by now but it is not.
Do you have any answer on this subject?
Thanks
Sam
Wednesday, September 2, 2015 5:13 PM -
User1209845128 posted
Hi,
I am having the same issue as well with the Sourceforge and SSL
The Web Platform Installer 5.0 fails on the PHP 5.3.28 due to time out
Any ideas?
Thursday, September 3, 2015 1:34 PM -
User-542318872 posted
Hello,
I have the same problem on Windows Server 2010. When WPI 5.0 tries to install RunPHP Helper, it returns
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Is there a workaround?
Thanks for any help!
Monday, September 21, 2015 6:20 PM -
User1801624007 posted
Other solution: I looked if the last Service Pack is to install, and not. I install this. Works for me!!
Monday, August 27, 2018 6:00 PM