Ubersmith Technical Support Options and Contact Information
Support Center » Knowledgebase » Problems with PHP CLI check on cPanel
 Problems with PHP CLI check on cPanel
Solution Recent versions of cPanel running PHP 5.2.6 with suPHP can have trouble with the PHP CLI check. The page will execute endlessly, with numerous PHP CGI processes spawning until Apache kills them off.

This issue can be overcome by taking the following steps:

Open


/opt/suphp/etc/suphp.conf


Find the line that reads:

;PATH environment variable
env_path=/bin:/usr/bin

Modify this line to read:

;PATH environment variable
env_path=/usr/local/bin:/bin:/usr/bin

Apache will search /usr/local/bin first, which will cause the system to use the PHP CLI first, as opposed to the PHP CGI.

This issue only seems to affect recent versions of cPanel/WHM that are using PHP 5.2.6. Previous versions do not appear to be affected.


Article Details
Article ID: 24
Created On: 22 Sep 2008 01:43 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Knowledgebase | Troubleshooter | Downloads
Language: