Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have 2 queries to ask. My customer wants me to upgrade current PHP to 5.0.
We currently have the below php version installed in the machine. There is a tar file that can be used to upgrade this php from. I guess yum cannot be used in my network.
So, my question is, should I just be unzipping and installing this tar file on the system to upgrade this PHP, or should I install any other files/modules along-with this tar file?
Also, how do we come to know if there are any security updates, etc. that should be done to the apache and Linux?
1 - You cannot upgrade php just "untarring" the archive since you have to move the content in the right place too.
The risk is to overwrite the php.ini and also to have conflicts with your apache configuration.
2 - Most distributions has their own webpages with the informations you're searching for.
First check your distro updates on its website, then check security updates for apache and php.
Which distro are you using?
Why customer ask for upgrade?
If you're talking about "yum" and rpms I suppose you have a RHEL or Fedora or Centos or some derivate one. Right?
1 - we just not untar the file, but also install it using rpm after untarring. I was referring to this.
2 - First check your distro updates on its website, then check security updates for apache and php.
1. I do not understand the first half of this statement.
2. My question on this was, how do we check the security updates for apache and Linux.
How do we check the distro?
Also, I am not sure why the customer is asking. But, we are supposed to do what the customer asks us to. Hence, I post these queries to know how to proceed with this, as I do not wanna goof up on this.
We cannot use yum. So, we can only install it thru rmpm.
Why can't you use yum to update this? If this is in fact RHEL 5 or CentOS 5 then PHP 5 is in the repositories and the easiest and safest way to do this update would be yum install php. You also make no mention of what is in that tar archive, for all we know it could be a set of source files, or an rpm. That will make a difference in how to proceed, if you have source it will need to be compiled first.
It seems like you don't really have enough information to do this. Doing something just because a customer wants you to isn't a real good reason. If you know why they want/need the upgrade then you can proceed with a plan, and having a full picture of what is currently using PHP and what is needing a different version of PHP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.