Thread: Compiling PHP
View Single Post
  #2  
Old 01-06-2009, 09:43 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
check output of

lsws/fcgi-bin/lsphp5 -i

It should have mysql and mysqli module in the output, if not, you need to tweak PHP configuration and recompile. I think "--with-mysql=../mysql" does not work. you have to use the real path where mysql client libraries has been installed to.
make sure mysql client devel rpm has been installed properly.
Reply With Quote