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.

Where is the proper php.ini? I want to turn allow_url_fopen off!

Discussion in 'General Discussion' started by N9ne, Oct 22, 2003.

  1. N9ne

    N9ne Well-Known Member

    Joined:
    Jan 7, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    England
    I want to to turn allow_url_fopen off in php.ini, but which is the right one? Where is it?
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Create a file called info.php and in it put:
    <?php
    phpinfo()
    ?>

    Then look to see the path. More than likely yours is in
    /usr/local/lib/
    unless you have done a manual install of Zend or something like that.
     
  3. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    Does turning allow_url_fopen off cause problems with any of the frequently used php scripts ?
     
  4. N9ne

    N9ne Well-Known Member

    Joined:
    Jan 7, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    England
    Re: Re: Where is the proper php.ini? I want to turn allow_url_fopen off!

    Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini

    That's what it says in phpinfo, however I can't even find allow_url_fopen in there yet phpinfo shows it. What the hell is up with that?
     
  5. pagedeveloping

    pagedeveloping Well-Known Member

    Joined:
    Jun 11, 2003
    Messages:
    219
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
  6. N9ne

    N9ne Well-Known Member

    Joined:
    Jan 7, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    England
  7. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    Re: Re: Re: Where is the proper php.ini? I want to turn allow_url_fopen off!

    That's because you probably have an older php.ini file from a previous php install when this feature wasn't available yet.
     
  8. N9ne

    N9ne Well-Known Member

    Joined:
    Jan 7, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    England
    Re: Re: Re: Re: Where is the proper php.ini? I want to turn allow_url_fopen off!

    Then where, and what do I put into the php.ini file, to turn it off?
     
Loading...

Share This Page