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.ini

Discussion in 'General Discussion' started by hikaro, Jan 15, 2007.

  1. hikaro

    hikaro Well-Known Member

    Joined:
    Nov 22, 2005
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    16
    hello.

    i currently just enable phpsuexec on my server and i found that the php.ini already read the current folder NOT sub-folder after public_html. so i got to place another php.ini on my subfolder to make it work on that sub-folder.
    my question is how to make php.ini read all the folders after public_html (it should be like .htaccess with php_value that read all the folders)

    thank you and hope get reply soon.
     
  2. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    I'd like to know the same thing, I compiled PHP 5.2.0 with phpSuEXEC two days ago and found the php.ini thing to be a hassle...
     
  3. bibink

    bibink Member

    Joined:
    Jul 12, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Unfortunately each folder requires its own php.ini file. This is a disadvantage(or advantage) of php with phpsuexec.
     
  4. hikaro

    hikaro Well-Known Member

    Joined:
    Nov 22, 2005
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    16
    thanks bibink !
    is there really no other way to make it enable on every folder ? as you may know that many CMS some components to be on or off and it would be difficult to make php.ini in every folder =)
     
Loading...

Share This Page