View Single Post
  #1  
Old 10-29-2011, 09:16 AM
bzerangue bzerangue is offline
Member
 
Join Date: Jun 2007
Posts: 23
Default 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
Reply With Quote