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

Go Back   LiteSpeed Support Forums > External Applications > PHP > PDO extension

Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2011, 12:49 PM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Default PDO extension

Hello,

We want to know how to add "PDO extension" in litespeed.

Can you give us the steps please.

Thank you
Eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
  #2  
Old 05-23-2011, 02:57 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
you can add "PDO extension" in LSPHP in two ways:
1. recompile lsphp
you need to go through LSPHP compile process (http://www.litespeedtech.com/support...wiki:php:lsapi) with "--with-pdo-extension" or "--with-pdo-extension=shared" option added. put "extension=pdo-extension.so" in php.ini for shared object built.

2. dynamic shared extension (no lsphp recompile)
build dynamic shared object from source as indicated in http://www.litespeedtech.com/support...p:opcode_cache. there is no need to recompile PHP for this.

Last edited by webizen; 05-23-2011 at 03:15 PM..
Reply With Quote
  #3  
Old 05-24-2011, 06:13 AM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Default PDO extension

Hello webizen,

Thank you very much for your quick reply.

I'm assuming also that if we have already some -with... that I will have to include them and add the other options as well or during the compilation Litespeed will include the current options automatically + the new ones that I will add ?

regards
eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
  #4  
Old 05-24-2011, 09:40 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Yes, you need to include what you already have and ADD the new options.
Reply With Quote
  #5  
Old 05-24-2011, 09:48 AM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Thank you very much !

Eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
  #6  
Old 05-26-2011, 05:52 PM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Hello,

We have done what you have mentioned, but we cannot see anymore the php-extension.so, what are your recommendations?

regards
eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
Reply

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 12:25 AM.



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