file_get_contents don't work with HTTPS

RK-BZ

Member
Aug 8, 2016
7
1
3
germany
cPanel Access Level
Root Administrator
After upgrade to EA4 PHP function file_get_contents don't work with HTTPS


file_get_contents(h/tps://www.domain.com/) timed out

but if I try to use file_get_contents (h/ttp://www.domain.com) ( or curl with HTTPS) it works


EasyApache 4 with Apache 2.4 ITK, PHP5.4
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,216
463

RK-BZ

Member
Aug 8, 2016
7
1
3
germany
cPanel Access Level
Root Administrator
allow_url_fopen is enabled and file_get_contents works with non-SSL.

It looks like there was a problem with Apache MPM ITK.

Load secured Webpage with file_get_contents from Webserver with the following EasyApache 4 Profiles

All PHP Options + OpCache ok
All PHP Options + ZendGuard ok
cPanel Default ok
cPanel Default + MPM ITK timed out
cPanel Worker MPM ok
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,216
463