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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solved] Update PHP 4 to 5

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2012, 08:25 PM
alaminour alaminour is offline
New Member
 
Join Date: Dec 2012
Location: houston, TX
Posts: 9
Default [solved] Update PHP 4 to 5

Hi, I install LightSpeed free edition on Rackspace VPS.

But can't update PHP.

http://166.78.16.195/phpinfo.php
**ERROR** Could not configure PHP build
Please advice.

Last edited by NiteWave; 12-15-2012 at 08:45 PM..
Reply With Quote
  #2  
Old 12-14-2012, 10:04 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
the URL is ok which is php 4.4.9
Quote:
**ERROR** Could not configure PHP build
where did you see the error message ? please provide more info.
Reply With Quote
  #3  
Old 12-14-2012, 10:13 PM
alaminour alaminour is offline
New Member
 
Join Date: Dec 2012
Location: houston, TX
Posts: 9
I tried to "Compile PHP with LSAPI" through admin panel, then this error coming.

--------------------------------------------------------
Step 4 : Monitoring build process

**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1355551832.1.progress
Start building PHP 5.4.9 with LSAPI
Configuring PHP build (2-3 minutes)
**ERROR** Could not configure PHP build

-------------------------------------

I am using CentOS 5.8.
Reply With Quote
  #4  
Old 12-14-2012, 10:37 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
please scroll down the end of the build window, the detail error message is there. you just saw the summary error message at top of the window.
Reply With Quote
  #5  
Old 12-14-2012, 10:56 PM
alaminour alaminour is offline
New Member
 
Join Date: Dec 2012
Location: houston, TX
Posts: 9
the error is
--------------------------------------
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
**ERROR** Could not configure PHP build
--------------------------------------

I installed from Rackspace instruction : http://www.rackspace.com/knowledge_c...ling-litespeed
Reply With Quote
  #6  
Old 12-14-2012, 11:03 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
yes, you've catched the detail error.

then please following this wiki:
http://www.litespeedtech.com/support...i:troubleshoot

the error you saw is addressed in the wiki. there are many others, should help you to build lsphp5 successfully.
Reply With Quote
  #7  
Old 12-15-2012, 07:15 PM
alaminour alaminour is offline
New Member
 
Join Date: Dec 2012
Location: houston, TX
Posts: 9
Thumbs up It works

Thanks a lot, Its worked with flowing command :
-----------------------

yum install libxml2-devel.x86_64 openssl-devel.x86_64 bzip2-devel.x86_64 libcurl-devel.x86_64 db4-devel.x86_64 \
libjpeg-devel.x86_64 libpng-devel.x86_64 libXpm-devel.x86_64 freetype-devel.x86_64 gmp-devel.x86_64 \
libc-client-devel.x86_64 openldap-devel.x86_64 libmcrypt-devel.x86_64 mhash-devel.x86_64 freetds-devel.x86_64 \
zlib-devel.x86_64 mysql-devel.x86_64 ncurses-devel.x86_64 pcre-devel.x86_64 unixODBC-devel.x86_64 postgresql-devel.x86_64 \
sqlite-devel.x86_64 aspell-devel.x86_64 readline-devel.x86_64 recode-devel.x86_64 net-snmp-devel.x86_64 \
libtidy-devel.x86_64 libxslt-devel.x86_64 t1lib-devel.x86_64

-----------------------------
Reply With Quote
Reply

Tags
php

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 06:43 AM.



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