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

Go Back   LiteSpeed Support Forums > External Applications > PHP > [Solved] Compiling PHP 5.3.6 with LSAPI ::problem::

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2011, 04:36 AM
flowcubano flowcubano is offline
Member
 
Join Date: May 2011
Posts: 19
Default [Solved] Compiling PHP 5.3.6 with LSAPI ::problem::

Hello

I try to compile php to PHP 5.3.6 from litespeed panel but I get this error:
(I'm use 8-CPU Lease LSWS Enterprise, Version 4.1 and I use Plesk 10)

Code:
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for 8-bit clean memcmp... yes
checking for stdarg.h... (cached) yes
checking for mcrypt support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... no
checking for specified location of the MySQL UNIX socket... no
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.
**ERROR** Could not configure PHP build

Last edited by flowcubano; 05-17-2011 at 04:38 AM..
Reply With Quote
  #2  
Old 05-17-2011, 05:01 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
for php 5.3.x, please use
--with-mysql=mysqlnd --with-mysqli=mysqlnd
refer
http://www.php.net/manual/en/mysqlnd.install.php
Reply With Quote
  #3  
Old 05-17-2011, 07:13 AM
flowcubano flowcubano is offline
Member
 
Join Date: May 2011
Posts: 19
Thank you, NiteWave
Reply With Quote
  #4  
Old 01-30-2012, 01:30 AM
smartcard smartcard is offline
New Member
 
Join Date: Jan 2012
Posts: 8
Quote:
Originally Posted by NiteWave View Post
for php 5.3.x, please use
--with-mysql=mysqlnd --with-mysqli=mysqlnd
refer
http://www.php.net/manual/en/mysqlnd.install.php
Please let me know to which file I should include the above line (--with-mysql=mysqlnd --with-mysqli=mysqlnd)
Reply With Quote
  #5  
Old 01-30-2012, 10:27 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by smartcard View Post
Please let me know to which file I should include the above line (--with-mysql=mysqlnd --with-mysqli=mysqlnd)

"--with-mysql=mysqlnd --with-mysqli=mysqlnd" are the options to use in the php compilation stage (build/compile lsphp in LSWS).
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 05:52 AM.



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