Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Web Server

Linux Web Server Web Server help and support (including cpanel, whm, plesk, etc.)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-04-2008, 01:43 PM
Member
 
Join Date: Feb 2008
Posts: 32
Jame is on a distinguished road
Default 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.
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-04-2008, 01:47 PM
Senior Member
 
Join Date: Feb 2008
Posts: 106
Justice M will become famous soon enough
Default

You should be able to access the file using root access and SSH. Use putty.
Reply With Quote
  #3 (permalink)  
Old 03-04-2008, 05:40 PM
Member
 
Join Date: Feb 2008
Posts: 32
Jame is on a distinguished road
Default

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.
Reply With Quote
  #4 (permalink)  
Old 03-05-2008, 02:28 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 572
Jordan will become famous soon enough
Default

Try this command from the shell:

Code:
# php -i | grep php.ini
Which should result in:
Quote:
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:41 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.