Closed Thread
Results 1 to 4 of 4

Thread: WHM php.ini

  1. #1
    Jame is offline Learning Programmer
    Join Date
    Feb 2008
    Posts
    32
    Rep Power
    0

    WHM php.ini

    Where does WHM keep its php.ini configuration file? The basic/advanced mode for PHP configuration in WHM doesn't allow me to add new values.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    EGS
    EGS is offline Programmer
    Join Date
    Feb 2008
    Posts
    116
    Rep Power
    0
    You should be able to access the file using root access and SSH. Use putty.

  4. #3
    Jame is offline Learning Programmer
    Join Date
    Feb 2008
    Posts
    32
    Rep Power
    0
    Well, I know how to access it but when I do a find I find the php.ini file in several places. I don't know which one to edit.

  5. #4
    Jordan Guest
    Try this command from the shell:

    Code:
    # php -i | grep php.ini
    Which should result in:
    Configuration File (php.ini) Path => /usr/local/lib
    Loaded Configuration File => /usr/local/lib/php.ini
    You can also load a PHP script with phpinfo(); in it. The output will contain this information as well.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts