[ SOLVED ] - PHP 7.3 = ERR_CONNECTION_RESET
Posted by: kprovance (---.dhcp.bhn.net)
Date: December 15, 2018 10:59AM

Recently I upgraded WAMP to v3.1.6 and grabbed the PHP 7.3 update. After switching to the version,all web pages on the local time out, including phpMyAdmin. if I switch back to PHP 7.2.13, everything works fine again.

The only clue I found was in the Windows 7 Event Viewer: (Windows 7 Ultimate x64)

Faulting application name: httpd.exe, version: 2.4.37.0, time stamp: 0x5bc8a667
Faulting module name: php7ts.dll, version: 7.3.0.0, time stamp: 0x5c088b73
Exception code: 0xc0000005
Fault offset: 0x0000000000017d19
Faulting process id: 0xfb8
Faulting application start time: 0x01d4945adece0550
Faulting application path: C:\wamp64\bin\apache\apache2.4.37\bin\httpd.exe
Faulting module path: C:\wamp64\bin\apache\apache2.4.37\bin\php7ts.dll
Report Id: 1cdae85d-004e-11e9-b28f-20cf30711133

Honestly, I have no idea what to do from here. Is this build of PHP 7.3 just not viable? I'll take any suggestions at this point.

Thanks!



Edited 1 time(s). Last edit at 12/15/2018 08:32PM by kprovance.

Re: PHP 7.3 = ERR_CONNECTION_RESET
Posted by: kprovance (---.dhcp.bhn.net)
Date: December 15, 2018 11:10AM

Follow up -

I ran the check_vcredist.exe and all runtimes are current and installed correctly.

Re: PHP 7.3 = ERR_CONNECTION_RESET
Posted by: Otomatic (Moderator)
Date: December 15, 2018 11:18AM

Hi,

May be a solution is to Restore the original libcrypto and libssl files of the apache version used:
Exit Wampserver.

In the folder wamp(64)/bin/apache/original_libcrypto_libssl/ choose and open the folder that corresponds to the Apache version used, for example apache2.4.37_x64 for Apache 2.4.37 64bit then copy the two dll files found there into the folder wamp/bin/apache/apache2.4.37/bin/ by overwriting the files or symbolic links found there.
Be careful with 32 or 64 bit versions.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Re: PHP 7.3 = ERR_CONNECTION_RESET
Posted by: kprovance (---.dhcp.bhn.net)
Date: December 15, 2018 11:42AM

I exited WAMP

I copied from C:\wamp64\bin\apache\original_libcrypto_libssl\apache2.4.37_x64 the files libcrypto-1_1-x64.dll and libssl-1_1-x64.dll to the folder C:\wamp64\bin\apache\apache2.4.37

The situation remains unchanged. The local still reports ERR_CONNECTION_RESET and the Windows Event log still reports the same fault.

Re: PHP 7.3 = ERR_CONNECTION_RESET
Posted by: Otomatic (Moderator)
Date: December 15, 2018 11:51AM

Hi,

> I copied from C:\wamp64\bin\apache\original_libcrypto_libssl\apache2.4.37_x64 the files libcrypto-1_1-x64.dll and libssl-1_1-x64.dll to the folder C:\wamp64\bin\apache\apache2.4.37

No. I didn't write "folder C:\wamp64\bin\apache\apache2.4.37"
I wrote “folder wamp/bin/apache/apache2.4.37/bin/”

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Re: PHP 7.3 = ERR_CONNECTION_RESET
Posted by: kprovance (---.dhcp.bhn.net)
Date: December 15, 2018 12:16PM

Yes, you are right. I apologize, I mistyped that path. I tried it again anyways, to C:\wamp64\bin\apache\apache2.4.37\bin

The result is still unchanged. Sorry. Thanks for trying to help. smiling smiley

Re: PHP 7.3 = ERR_CONNECTION_RESET
Posted by: Otomatic (Moderator)
Date: December 15, 2018 01:29PM

Hi,

I have no problem with PHP 7.3.0 64 bit, Wampserver 3.1.6 with Windows 7 Pro 64 bit.
One last thing to do before switching to PHP 7.3.0 would be to disable xDebug which, for PHP 7.3.0 is in beta version.

In the file : wamp64\bin\php\php7.3.0\phpForApache.ini
Replace :
zend_extension="c:/wamp64/bin/php/php7.3.0/zend_ext/php_xdebug-2.7.0beta1-7.3-vc15-x86_64.dll"
by
;zend_extension="c:/wamp64/bin/php/php7.3.0/zend_ext/php_xdebug-2.7.0beta1-7.3-vc15-x86_64.dll"
That is, comment on the line by adding a semicolon at the beginning.
Save the modified file.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Re: PHP 7.3 = ERR_CONNECTION_RESET
Posted by: kprovance (---.dhcp.bhn.net)
Date: December 15, 2018 08:31PM

Son of a gun! That fixed it! Hopefully they'll fix that ext soon. Thank you again for all your help!

Re: [ SOLVED ] - PHP 7.3 = ERR_CONNECTION_RESET
Posted by: ciprianmp (---.rdsnet.ro)
Date: December 15, 2018 11:24PM

Following up on your issue, I only had that problem with the new phpmyadmin4.8.4.
Disabling the zend_extention in [xdebug] did fix it for me too. Thank you Otomatic!

[xdebug]
;zend_extension="D:/wamp/bin/php/php7.3.0/zend_ext/php_xdebug-2.7.0beta1-7.3-vc15-x86_64.dll"

Ciprian M.

Re: PHP 7.3 = ERR_CONNECTION_RESET
Posted by: kprovance (---.dhcp.bhn.net)
Date: December 16, 2018 06:42AM

Yeah, that was it. I updated all the components that had an update. Hopefully this helps out anyone else who runs into the same snafu. Thanks again!

Re: [ SOLVED ] - PHP 7.3 = ERR_CONNECTION_RESET
Posted by: Mordi33 (---.w193-252.abo.wanadoo.fr)
Date: December 28, 2018 05:01PM

Hi,
I have the same error but i'm not on PHP 7.3.0 but 7.2.10.
In the phpForApache.ini (in wamp/bin/php7.2.10) i have comment the zend_extension line but the result is the same.
Do you have another option to solve this problem ?

Thank a lot,
Regards,
Cédric

WampServer 3.1.6 : Apache 2.4.35 - PHP 7.2.10 - MySQL 5.7.23 - MariaDB 10.3.9 - Windows Server 2016

Re: [ SOLVED ] - PHP 7.3 = ERR_CONNECTION_RESET
Posted by: Otomatic (Moderator)
Date: December 28, 2018 06:01PM

Hi,

> Do you have another option to solve this problem ?
No.

May be not load Opcache :


Left-click -> PHP -> Extensions PHP -> Zend_extension -> php_opcache to uncheck it

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 12/28/2018 08:07PM by Otomatic.

Re: [ SOLVED ] - PHP 7.3 = ERR_CONNECTION_RESET
Posted by: WarriorGov9791 (---.hawaii.res.rr.com)
Date: December 28, 2018 11:23PM

Quote
otomatic said

May be not load Opcache :

Left-click -> PHP -> Extensions PHP ->
> Zend_extension -> php_opcache to uncheck it

Hello Otomatic,

I had a similar problem with my Joomla development sites in PHP 7.3.0. There is a workaround if Opcache is enabled.

    1. Open phpforApache.ini
    2. Around line 1812, uncomment the directive: opcache.optimization_level=0x7FFFBFFF
    3. Change the binary code to 0x7FFFBBFF

The bug lies with PHP 7.3.0 and has been reported here: https://bugs.php.net/bug.php?id=77275. It's been said that it will be fixed in the next update.

Aloha & Happy New Year,
Ben



Edited 3 time(s). Last edit at 12/28/2018 11:37PM by WarriorGov9791.

Sorry, only registered users may post in this forum.