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!

php_admin_value with phpsuexe

Discussion in 'General Discussion' started by flashweb, Oct 15, 2006.

  1. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    253
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Hi,

    I need to turn off allow_url_fopen for a site with httpd.cof

    I added

    to httpd.conf, on restarting, i am getting error.

    How do i disable allow_url_fopen for a site in httpd.conf ?

    Thanks,

    Yujin
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Phenomenon

    Phenomenon Member

    Joined:
    Aug 21, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    151
    create a file called php.ini in a public_html directory for that account, and add a value like this:

    allow_url_fopen Off

    It should work..
     
  3. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    253
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Thanks, got it working with php.ini

    There is no way i can do the same with httpd.conf ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Phenomenon

    Phenomenon Member

    Joined:
    Aug 21, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    151
    Not that I'm aware of :)
     
  5. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    8
    Trophy Points:
    193
    Yeah, get rid of phpSuExec! :rolleyes:
     

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