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.

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:
    243
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  2. Phenomenon

    Phenomenon Member

    Joined:
    Aug 21, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    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:
    243
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thanks, got it working with php.ini

    There is no way i can do the same with httpd.conf ?
     
  4. Phenomenon

    Phenomenon Member

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

    Spiral BANNED

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

Share This Page