View Single Post
  #4  
Old 01-16-2012, 04:42 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Quote:
Originally Posted by Mr_Parham View Post
...
===================================

Another question, when i try to compile php 5.2.17 here is what happen
==================================
**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1326744502.9.progress
Start building PHP 5.2.17 with LSAPI
Configuring PHP build (2-3 minutes)
**ERROR** Could not configure PHP build
==================================
and here is the detailed info
==================================
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.
**ERROR** Could not configure PHP build
==================================

PS - i did try building a matching binary from cpanel but after it was finished the websites didnt function properly, it didnt load up lots of stuff and also the links and etc were messed up, so i though i should first choose the version before doing the cpanel part
You are missing libpng library. easy fix is yum install package. refer to below doc for more details:

http://www.litespeedtech.com/support...i:troubleshoot

I am actually more concerned with matching PHP binary built from cpanel unable to serve the sites. to have lsws replace apache, matching php is almost a must-have.
Reply With Quote