lanec
May 20 2008, 05:53 PM
I am trying to find if there is an automated way to install PHP with CLI turned on through WHM. I am trying to use a web app that requires it on but the instructions I have found require me compiling Apache outside of WHM which I am not comfortable doing since I host many sites on this server.
Is this something I should be opening a support ticket for from inside of Orbit?
James Jhurani
May 20 2008, 10:31 PM
I'm not positive if this will give you the desired results, but in WHM, go the the link "configure suexec and php". Once there, make sure your version of php is using DSO, and not CGI. Once it is set to DSO, log into the server via ssh and type "php -v". It should read something similar to:
[root@core ~]# php -v
PHP 5.2.4 (cli) (built: Sep 18 2007 08:50:58)
Copyright © 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright © 1998-2007 Zend Technologies
[root@core ~]#