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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Build Matching PHP Binary - Help required please.

Reply
 
Thread Tools Display Modes
  #11  
Old 03-28-2009, 07:55 AM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Quote:
Originally Posted by BBUK View Post
root@vps-167 [~]# echo $PATH whereis 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 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.
You should execute commands indivudually, however it seeems no gzip located in your box

I suggest fore install using RPM
Reply With Quote
  #12  
Old 03-28-2009, 08:01 AM
BBUK BBUK is offline
Member
 
Join Date: Feb 2009
Posts: 10
Quote:
Originally Posted by IrPr View Post
You should execute commands indivudually, however it seeems no gzip located in your box

I suggest fore install using RPM
Ah right ok, new to this PuTTY program as well learning as I go along kind of thing!

I've just tried to force install but says the following:


root@vps-167 [~]# rpm -Uvh http://mirror.centos.org/centos/5/os...entos.i386.rpm
Retrieving http://mirror.centos.org/centos/5/os...entos.i386.rpm
error: skipping http://mirror.centos.org/centos/5/os...entos.i386.rpm - transfer failed - Unknown or unexpected error
warning: u 0x807d380 ctrl 0x807db48 nrefs != 0 (mirror.centos.org http)
root@vps-167 [~]#
Reply With Quote
  #13  
Old 03-28-2009, 09:40 AM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Quote:
Originally Posted by BBUK View Post
Ah right ok, new to this PuTTY program as well learning as I go along kind of thing!

I've just tried to force install but says the following:


root@vps-167 [~]# rpm -Uvh http://mirror.centos.org/centos/5/os...entos.i386.rpm
Retrieving http://mirror.centos.org/centos/5/os...entos.i386.rpm
error: skipping http://mirror.centos.org/centos/5/os...entos.i386.rpm - transfer failed - Unknown or unexpected error
warning: u 0x807d380 ctrl 0x807db48 nrefs != 0 (mirror.centos.org http)
root@vps-167 [~]#
It seems that you typed the link manually
there is typo there: el5.centos is correct, you typed e15.centos

Take a look to putty documents: http://the.earth.li/~sgtatham/putty/0.52/htmldoc/Contents.html or Using PuTTY

Quote:
Pasting is done using the right button (or the middle mouse button, if you have a three-button mouse and have set it up; see section 4.10.3).
Code:
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/gzip-1.3.5-10.el5.centos.i386.rpm

Last edited by IrPr; 03-28-2009 at 09:46 AM..
Reply With Quote
  #14  
Old 03-28-2009, 10:07 AM
BBUK BBUK is offline
Member
 
Join Date: Feb 2009
Posts: 10
Quote:
Originally Posted by IrPr View Post
It seems that you typed the link manually
there is typo there: el5.centos is correct, you typed e15.centos

Take a look to putty documents: http://the.earth.li/~sgtatham/putty/0.52/htmldoc/Contents.html or Using PuTTY



Code:
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/gzip-1.3.5-10.el5.centos.i386.rpm
Woops, I'll give them links a read.

Before I do this, could it lead to any problems? just want to make sure as our website is live and wouldn't want myself to be the blame for any damage

Thanks!! Tom
Reply With Quote
  #15  
Old 03-28-2009, 10:18 AM
BBUK BBUK is offline
Member
 
Join Date: Feb 2009
Posts: 10
root@vps-167 [~]# rpm -Uvh http://mirror.centos.org/centos/5/os...entos.i386.rpm
Retrieving http://mirror.centos.org/centos/5/os...entos.i386.rpm
Preparing... ########################################### [100%]
package gzip-1.3.5-10.el5.centos is already installed
root@vps-167 [~]#
Reply With Quote
  #16  
Old 03-28-2009, 04:35 PM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Quote:
Originally Posted by BBUK View Post
root@vps-167 [~]# rpm -Uvh http://mirror.centos.org/centos/5/os...entos.i386.rpm
Retrieving http://mirror.centos.org/centos/5/os...entos.i386.rpm
Preparing... ########################################### [100%]
package gzip-1.3.5-10.el5.centos is already installed
root@vps-167 [~]#
Try installing from source
Code:
cd /usr/src
wget http://ftp.gnu.org/gnu/gzip/gzip-1.3.9.tar
tar xf gzip-1.3.9.tar
cd gzip-1.3.9
./configure
make
make install
Reply With Quote
  #17  
Old 03-29-2009, 12:56 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Try a "forced" update with rpm like


rpm -Uvh --force ...
Reply With Quote
  #18  
Old 03-31-2009, 03:11 PM
BBUK BBUK is offline
Member
 
Join Date: Feb 2009
Posts: 10
Quote:
Originally Posted by IrPr View Post
Try installing from source
Code:
cd /usr/src
wget http://ftp.gnu.org/gnu/gzip/gzip-1.3.9.tar
tar xf gzip-1.3.9.tar
cd gzip-1.3.9
./configure
make
make install
Hi thanks i managed to install gzip this way and was able to build matching php Binary.

Only thing is, after the build matching php binary was complete, it said that i should copy over the new php Binary or something, which i don't think went to plan. Now i'm not sure what these commands were as there's no way to go back to it...
Reply With Quote
Reply

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 09:36 PM.



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