LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   Compiling PHP (http://www.litespeedtech.com/support/forum/showthread.php?t=2593)

baum 01-06-2009 09:31 AM

Compiling PHP
 
I use Directadmin and Litespeed Webserver but after compiling php 5.6.8 the website didn't connect to mysql

Quote:

--with-mysqli --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv --with-config-file-path=../php --with-mysql=../mysql --with-jpeg-dir=.. --with-png-dir=.. --with-zlib-dir=..
what can i do?

sry for my english

mistwang 01-06-2009 09:43 AM

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.


All times are GMT -7. The time now is 06:34 AM.