Is it possible to build a version of PHP 5.2.14 that supports TLS 1.2 ?
Lena Nilsson <[email protected]> Thu, 17 Mar 2016 12:20:23 -0400
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <CAK0qz-aev1EQqH3pb=mx82X-p=+eBYWKEeXAGQpXoM=cEYcuGw@mail.gmail.com> |
--===============0587371005== Content-Type: multipart/alternative; boundary=001a11c13aa8e91d7a052e4101db --001a11c13aa8e91d7a052e4101db Content-Type: text/plain; charset=UTF-8 Greetings! I am working on a heavily customized e-commerce website based on Turnkey Web Tools SunShop 4.1.18, that runs under PHP 5.2.14 on a Windows 2012 server and IIS 8 / FastCGI. In the last few weeks, we have been informed that both PayPal and UPS (which the site uses for accepting payments and shipping) will only accept connections using TLS 1.2 starting June 17 and May 31 this year, respectively. (PayPal originally stated that their deadline for upgrading was Jan 1, 2018, then moved it up to June 17, 2016.) We were already planning to upgrade to a new, up-to-date ecommerce platform this year, but now we obviously have less than three months. The current site will not run at all under any version of PHP 5.3 or later, and the upgrade to SunShop 4.1.18 from an earlier version of SunShop took over six months to complete, so we need a temporary solution. I found PHP 5.3.5 compiled with VC6++ on the php.net site and tried to substitute php_curl.dll with that version, but that only led to an internal server error (500). Is it possible to compile and build a version of PHP 5.2.14 (or 5.2.17 should also work) that uses cURL 7.34 or later? Has anyone been able to do it successfully? I understand libcurl is statically linked in PHP. Would I need to rebuild the entire PHP to upgrade to cURL 7.34, or would it be enough to just create a new php_curl.dll (and I assume upgrade libeay32.dll and ssleay32.dll)? We have Visual C++ 6 installed in XP mode on a Windows 7 workstation, and I have downloaded the source from php.net, however I am unable to find a copy of the binary dependencies. (deps-5.3-vc9-x86.7z <http://windows.php.net/downloads/php-sdk/deps-5.3-vc9-x86.7z> for PHP 5.3, so I am assuming that the corresponding file for PHP 5.2 would be deps-5.2-vc6-x86.7z, but the only place I can find it is a blacklisted site and Chrome flags the file as malicious). Do I need the deps-5.2-vc6-x86.7z file, and if so, does anyone know where I can get hold of a clean copy? Thank you! Lena --001a11c13aa8e91d7a052e4101db Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Greetings!<div><br></div><div>I am working on a heavily cu= stomized e-commerce website based on Turnkey Web Tools SunShop 4.1.18, that= runs under PHP 5.2.14 on a Windows 2012 server and IIS 8 / FastCGI.</div><= div><br></div><div>In the last few weeks, we have been informed that both P= ayPal and UPS (which the site uses for accepting payments and shipping) wil= l only accept connections using TLS 1.2 starting June 17 and May 31 this ye= ar, respectively. (PayPal originally stated that their deadline for upgradi= ng was Jan 1, 2018, then moved it up to June 17, 2016.)</div><div><br></div= ><div>We were already planning to upgrade to a new, up-to-date ecommerce pl= atform this year, but now we obviously have less than three months. The cur= rent site will not run at all under any version of PHP 5.3 or later, and th= e upgrade to SunShop 4.1.18 from an earlier version of SunShop took over si= x months to complete, so we need a temporary solution.<br></div><div><br></= div><div>I found PHP 5.3.5 compiled with VC6++ on the <a href=3D"http://php= .net">php.net</a> site and tried to substitute php_curl.dll with that versi= on, but that only led to an internal server error (500).</div><div><br></di= v><div>Is it possible to compile and build a version of PHP 5.2.14 (or 5.2.= 17 should also work) that uses cURL 7.34 or later? Has anyone been able to = do it successfully?</div><div><br></div><div>I understand libcurl is static= ally linked in PHP. Would I need to rebuild the entire PHP to upgrade to cU= RL 7.34, or would it be enough to just create a new php_curl.dll (and I ass= ume upgrade libeay32.dll and ssleay32.dll)?</div><div><br></div><div>We hav= e Visual C++ 6 installed in XP mode on a Windows 7 workstation, and I have = downloaded the source from <a href=3D"http://php.net">php.net</a>, however = I am unable to find a copy of the binary dependencies. (<a href=3D"http://w= indows.php.net/downloads/php-sdk/deps-5.3-vc9-x86.7z">deps-5.3-vc9-x86.7z</= a>=C2=A0for PHP 5.3, so I am assuming that the corresponding file for PHP 5= .2 would be deps-5.2-vc6-x86.7z, but the only place I can find it is a blac= klisted site and Chrome flags the file as malicious).</div><div><br></div><= div>Do I need the deps-5.2-vc6-x86.7z file, and if so, does anyone know whe= re I can get hold of a clean copy?</div><div><br></div><div>Thank you!</div= ><div>Lena</div><div><br></div><div><br></div><div><br></div></div> --001a11c13aa8e91d7a052e4101db-- --===============0587371005== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KaHR0cDovL2Nv b2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vY3VybC1hbmQtcGhwCg== --===============0587371005==--