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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Recompiling PHP according to Wiki works, but not with litespeed

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-22-2006, 07:41 PM
DavidPesta DavidPesta is offline
Member
 
Join Date: May 2006
Posts: 27
Default Recompiling PHP according to Wiki works, but not with litespeed

I am using Red Hat Enterprise Linux 4. I followed the Wiki instructions as best I could and went through it twice to recorded exactly what I did:

1# rm -rf php-4.4.2 (if present, start from scratch)
2# tar -xzvf php-4.4.2.tar.gz
3# cd php-4.4.2
4# wget http://www.litespeedtech.com/package...espeed-2.1.tgz
5# tar -xzvf php-litespeed-2.1.tgz
6# cd .. (This is skipped because it produces an error in step 8)
7# touch ac*
8# ./buildconf --force (if 6 above is not skipped, the following error is produced: -bash: ./buildconf: No such file or directory)
9# ./configure --with-litespeed --with-config-file-path=../conf --with-apxs2=/usr/sbin/apxs --with-mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-sqlite --enable-sqlite-utf8 --with-zlib --with-zlib-dir --with-bz2 --with-gd --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-ttf --with-freetype-dir=/usr/local/include --with-iconv=/usr/local --with-curl=/usr/local --enable-track-vars --with-gettext --enable-trans-id --enable-ftp --enable-mbstring --with-openssl=/usr/local --with-dom
10# make
11# make install
12# cd /usr/local/lsws/fcgi-bin/
13# mv lsphp lsphp.old
14# cp /usr/local/bin/php lsphp
15# cd ..
16# fcgi-bin/lsphp -v

Step 16 tests it and shows that litespeed is not present:
Code:
[root@plain lsws]# fcgi-bin/lsphp -v
PHP 4.4.2 (cli) (built: May 22 2006 21:26:28)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
After restarting the server, I try to run phpinfo.php, which used to work, but now it times out.
Code:
Request Timeout
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.
I'm good at following directions, though I don't know some of the things that are going on. Perhaps some of the minor improvising I did, such as the one to prevent the error message in step 8 caused the problem?

Looking forward to getting this to work!

David
Reply With Quote
 

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Litespeed PHP authenticating against LDAP reshu1596 PHP 1 03-06-2007 03:14 PM
setup php in rails template cswilliams Install/Configuration 2 01-25-2007 08:21 AM
LiteSpeed & PHP 5.1 zoom Install/Configuration 1 12-07-2005 11:59 AM
php 5.1.0 + litespeed 2.1.6 + apc 3.0.8 feedback xing Install/Configuration 0 11-24-2005 08:46 PM
Best configuration for PHP LiteSpeed SAPI jeff Install/Configuration 6 10-19-2005 09:54 AM


All times are GMT -7. The time now is 07:20 PM.



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