LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   How do I install and compile PHP with PECL's Mongo DB extension in Litespeed GUI (http://www.litespeedtech.com/support/forum/showthread.php?t=5437)

bzerangue 10-29-2011 09:16 AM

How do I install and compile PHP with PECL's Mongo DB extension in Litespeed GUI
 
How do I install and compile PHP with PECL's Mongo DB extension, http://pecl.php.net/package/mongo, in Litespeed Admin GUI? Can someone give me the steps I need to take to get this up and running.

I've compiled PHP through the GUI, I just don't know how to compile with the PECL extension.

I tried installing it this way...

Code:

sudo /usr/local/lsws/lsphp5/bin/pecl install -f mongo
and I get the following error message...

Code:

/usr/local/lsws/lsphp5/bin/pecl: line 28: /usr/local/lsws/lsphp5/bin/php: No such file or directory
/usr/local/lsws/lsphp5/bin/pecl: line 28: exec: /usr/local/lsws/lsphp5/bin/php: cannot execute: No such file or directory

My directory (/usr/local/lsws/lsphp5/bin/) has the following items...
lsphp pear peardev pecl phar phar.phar php-config php.dSYM phpize

mistwang 10-29-2011 01:40 PM

you can try make a symbolic of lsphp as php under that directory.
or, copy over the cli build of php from /usr/local/lsws/phpbuild/php-xxxx/ directory.


All times are GMT -7. The time now is 03:58 AM.