Upgrading PHP LSAPI

kuts

Well-Known Member
#1
So there's a new version of PHP LSAPI and LiteSpeed 3.3.10

I already upgraded to 3.3.10. Will recompiling PHP via LS admin panel upgrade to the latest version of PHP LSAPI?
 

brrr

Well-Known Member
#7
Cool.

Can I suggest that this info (ie 'recompiling PHP will update the LSAPI to the latest version') was in the FAQ or in the LSWS/LSAPI readme.

I was puzzling over this myself.
 

brrr

Well-Known Member
#8
I just tried compiling PHP 4.4.8 on LSWS Std 3.3.10, running on CentOS 4.6 on a OpenVZ VPS.

It failed at step 1 and I got the following error message:

ERROR: Unable to detect download method (install curl, fetch, or wget)
Both wget and curl are however available on the server and LSWS has never had any problems downloading updates etc before.

I tried the PHP 4.4.8 upgrade using the standard configure switches and I also ticked the Suhosin box and the eAccelerator box.

Suggestions?
 

brrr

Well-Known Member
#9
OK, I reset the permissions on wget and gcc to 0755 as suggested elsewhere in the forum.

Now wget works and the php sources etc successfully download.

Now however buildconf gets some sort of permission errors on /dev/null or something and the upgrade aborts.

Here is the last part of the relevant install log:
04:04:31 (6.37 MB/s) - `php-4.4.8.tar.gz' saved [5629900/5629900]

--04:04:31-- http://www.litespeedtech.com/packages/lsapi/php-litespeed-4.7.tgz
=> `php-litespeed-4.7.tgz'
Resolving www.litespeedtech.com... 209.151.227.121
Connecting to www.litespeedtech.com|209.151.227.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24,953 (24K) [application/x-gtar]

0K .......... .......... .... 100% 256.40 KB/s

04:04:31 (256.40 KB/s) - `php-litespeed-4.7.tgz' saved [24953/24953]

Forcing buildconf
./buildconf: line 37: /dev/null: Permission denied
using default Zend directory
buildconf: checking installation...
build/buildcheck.sh: line 32: /dev/null: Permission denied
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from CVS.
make: *** [buildmk.stamp] Error 1
Buildconf however already has permissions set as 0755.

Any suggestions?
 
Top