Build Matching PHP Binary - Help required please.
New to the forum & Litespeed.
I have very little knowledge with litespeed and servers so I'm hoping you lot can advise me, I managed to install and get it working so that's a good start.
I'd like to use the same PHP setup that we had with using Apache.
I've tried going to WHM panel > LiteSpeed Web Server Plugin for WHM > Build Matching PHP Binary.
Found Apache php binary at /usr/local/bin/php. Version is 5.2.8
Found LiteSpeed php binary at /opt/lsws/fcgi-bin/lsphp5. Version is 4.4.9
PHP binary has different version!
Start building PHP 5.2.8 with LSAPI
Wed Mar 25 02:24:09 GMT 2009
Changing to build directory /home/cpeasyapache/ls.src
Detected php build directory for cPanel /home/cpeasyapache/src/php-5.2.8
Same source code will be copied over
Query lastest LSAPI version: 4.9
php-litespeed-4.9.tgz already downloaded, use the saved copy
Extracting LSAPI archive: tar -xzf php-litespeed-4.9.tgz
tar: gzip: Cannot exec: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
**ERROR** Could not extract LSAPI archive
Please help :)
Thanks for reply, I'm not too sure if server has Gzip or not? it's an unmanaged VPS, I can ask the providers support and find out.
Hi, they say Gzip would be a standard part of our CentOS installation.
Maybe your VPS is out of memory when try to build it. So, you may need to stop Apache or other memory hungry processes before start building it.
Hi, thanks for the reply.
I've tried doing the rebuild php while Litespeed is switched on, and also have tried switching back to Apache but still gives the same message.
There's a few hundred MB memory spare while trying.. is this enough?
-bash: gzip: command not found
root@vps-167 [~]# yum -y install gzip
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirror.bytemark.co.uk
* updates: mirror.bytemark.co.uk
* addons: mirror.bytemark.co.uk
* extras: mirror.bytemark.co.uk
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Excluding Packages in global exclude list
Setting up Install Process
Parsing package install arguments
Package gzip - 1.3.5-10.el5.centos.i386 is already installed.
Nothing to do
to find your current path and gzip binary location try:
you may force re-install gzip RPM:
/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin whereis gzip
root@vps-167 [~]# echo $PATH locate gzip
/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin locate gzip
should I force install?
thanks for the help.
|All times are GMT -7. The time now is 08:35 AM.|