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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Compiling PHP

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2009, 09:31 AM
baum baum is offline
New Member
 
Join Date: Jan 2009
Posts: 1
Default 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
Reply With Quote
  #2  
Old 01-06-2009, 09:43 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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
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 11:50 AM.



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