The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

file_get_contents don't work with HTTPS

Discussion in 'EasyApache' started by RK-BZ, Aug 8, 2016.

Tags:
  1. RK-BZ

    RK-BZ Registered

    Joined:
    Aug 8, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
    #1 RK-BZ, Aug 8, 2016
    Last edited by a moderator: Aug 8, 2016
  2. vacancy

    vacancy Member

    Joined:
    Sep 20, 2012
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This function EasyApache 4 default come disable. You can set php.ini enable.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. RK-BZ

    RK-BZ Registered

    Joined:
    Aug 8, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - file_get_contents don't HTTPS
  1. wiggonator
    Replies:
    7
    Views:
    415

Share This Page