![]() |
replacing system php
I was considering installing the sapi php via the wiki, but instead of using /php5 using /usr/local so there is only one php for the system.
I have noticed one thing though when you do php -v with my old php it lists all features like root@cp [/usr/src/php-5.2.3]# php -v PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 21 2007 02:51:18) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with eAccelerator v0.9.5.1, Copyright (c) 2004-2006 eAccelerator, by eAccelerator with the ionCube PHP Loader v3.1.24, Copyright (c) 2002-2006, by ionCube Ltd., and with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies When I do version with php5 i get this root@cp [/usr/src/php-5.2.3]# /php5/bin/php -v PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jul 14 2007 03:11:04) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies But in php info it all shows http://www.secureservertech.com/info.php As you see there. So I dont know whats up with that. Im gonna try to do it now and Ill post my results. If you know any problems this could cause let me know |
Well everything looks good, displays all version info
Quote:
its loading the /opt/lsws/php/php.ini instead of the one in /usr/local/lib, Ill try to link it Ok, all is well now. I had to link /opt/lsws/php/php.ini to /usr/local/lib/php.ini but that is linked to the zend php.ini, wonder if that is too many links to follow? |
You can specify a "-c <php.ini path>" parameter from the command line of lsphp external application.
|
well, the linking seems to work fine. I may do it when I get some free time, working fine now so I wont mess with it for a bit
http://www.secureservertech.com/info.php Working great so far. I think if someone is gonna totally convert to litespeed this is the best way UPDATE: Ok I see what you are talking about now , I changed it to /usr/local/lib. Works no probs, well no reason it shouldnt lol .But when you are runnng hosting box worry a lil ;) btw, site looks great now |
| All times are GMT -7. The time now is 07:08 PM. |