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.

magic quotes / etc

Discussion in 'General Discussion' started by chadi, Jul 5, 2004.

  1. chadi

    chadi BANNED

    Joined:
    Apr 20, 2004
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    I need to do this:

    "magic_quotes_gpc" option is ON
    "magic_quotes_runtime" option is OFF
    "magic_quotes_sybase" option is OFF
    "file_uploads" option is ON

    How do I modify the configuration to this?
     
  2. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    these are in php.ini

    to find out where your php.ini file is located:

    enter this at the command line:
    php -i >tmpphpinfo;grep "php.ini" tmpphpinfo; rm tmpphpinfo

    you will get a line that looks like this:
    <tr><td class="e">Configuration File (php.ini) Path </td><td class="v">/usr/local/lib/php.ini </td></tr>

    That's your php.ini location


    Alternatively, you can change these values per-site with a php.ini file in the homedir if you're running phpsuexec or a .htaccess in the webroot if not
     
Loading...

Share This Page