Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Is there a reason that fopen would not work with cpanel.

Discussion in 'General Discussion' started by WebHostPro, Aug 26, 2006.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    This script maker is saying that fopen is blocked on the server but it says it's on in the php.ini file.

    I use phpseux but that shouldn't do it.

    maybe modsecurity?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. areh

    areh Active Member

    Joined:
    Jul 26, 2002
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    156
    I´m running fopen withouth problems on a cPanel server. Shouldn´t be anything else than to activate it in php.ini.

    You can also activate it per directory using .htaccess or php.ini. But if you put a test.php file (with the content <? phpinfo(); ?> in the same dir as your developer have problems with, and on accessing test.php in your browser, it says that fopen is On, it is probably on.
     
  3. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    great, thanks again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice