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

Go Back   LiteSpeed Support Forums > External Applications > PHP > [Solved] php mysql.so error

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-20-2012, 07:48 PM
BrentH BrentH is offline
New Member
 
Join Date: Mar 2012
Posts: 2
Default [Solved] php mysql.so error

Hi, I have been getting this error with email piping for WHMCS. The piping itself works, but will throw this error message back to the sender.

I wasn't sure if this was related to cPanel or Litespeed, but cPanel forums sent me here.


PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20060613/mysql.so' - /usr/lib/php/extensions/no-debug-non-zts-20060613/mysql.so: undefined symbol: PL_perl_destruct_level in Unknown on line 0

I'm not 100% sure where to go from here with this.

Some more details:

Code:
 grep extension /usr/local/lib/php.ini
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
; leading '/'. You must also specify the file extension being used including
; Directory in which the loadable extensions (modules) reside.
;extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
extension="eaccelerator.so"
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.3.so"
extension = "/usr/lib/php/extensions/no-debug-non-zts-20060613/mysql.so"
; If you wish to have an extension loaded automatically, use the following
; needs to go here.  Specify the location of the extension with the
; extension_dir directive above.
; dictionary files.  Include the base filename, but not the file extension.
zend_extension="/usr/local/Zend/lib/Guard-5.5.0/php-5.3.x/ZendGuardLoader.so"



Code:
 no-debug-non-zts-20060613]$ ls -l
total 2536
-rwxr-xr-x 1 root root 229593 Mar  9 21:50 mysql.so
-rwxr-xr-x 1 root root 112066 Mar  1 19:35 pdo.a
-rwxr-xr-x 1 root root  29756 Mar  1 19:35 pdo_mysql.a
-rwxr-xr-x 1 root root  34717 Mar  1 19:35 pdo_mysql.so
-rwxr-xr-x 1 root root 114417 Mar  1 19:35 pdo.so
-rwxr-xr-x 1 root root 579024 Mar  1 19:35 pdo_sqlite.a
-rwxr-xr-x 1 root root 519754 Mar  1 19:35 pdo_sqlite.so
-rwxr-xr-x 1 root root 481176 Mar  1 19:35 sqlite.a
-rwxr-xr-x 1 root root 447539 Mar  1 19:35 sqlite.so
At first I was getting an error stating that mysql.so wasn't there. So I cp'ed it from /usr/local/lib... to /usr/lib/...

Now I'm getting this error. I'm not 100% sure that copying it was the correct thing to do, but I found a similar thread on WHT and that was their solution.

I'm running:

WHM 11.30.6
centOS 5.7 32bit
LiteSpeed 4.1.11

The first problem seemed to be that rebuilding php from the litespeed admin panel didn't add mysql.so, so that's why I copied it the first time, then I think I recompiled it or something. I don't recall as it's been a few weeks since I could get back on this issue.

Any help would be greatly appreciated. I also have some client sites running on the server, so I need to be careful rebuilding and breaking php sites.
Reply With Quote
 

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 09:52 PM.



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