LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > How do I install and compile PHP with PECL's Mongo DB extension in Litespeed GUI

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 10-29-2011, 01:40 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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.
Reply With Quote
Reply

Tags
litespeed, mongo, pecl, php compile

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:13 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.