Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-11-2005, 06:44 AM
|
#1
|
Member
Registered: Jun 2005
Location: India
Posts: 101
Rep:
|
upgradation of Apache, PHP and Mysql
Hi,
The following server/software was installed by default during OS installation
Apache 2.0.40
Php 4.4.0
Mysql 4.0.26
Now I would like to upgard all the above server/software with the following version which are available as source code from the relevant sites.
Apache 2.0.54
Php 5.0.5
Mysql 4.1.12
I have install the above software in the normal way as given instructions in the INSTALL file i.e., ./configure, make, make install and so on. Now If I check the versions of the above server/software, it gives me the old version. Hence, please let me know how to upgarde the Apache, php and Mysql from source while the older versions are installed by default at the time of OS installation.
thanks in advance.
T. Saravana
|
|
|
10-11-2005, 07:31 AM
|
#2
|
Member
Registered: Sep 2004
Distribution: Slack!
Posts: 150
Rep:
|
The original packages are likely installed into a slightly different location than the source would put them by defualt. For example, practically every distro will put Apache's binaries in /usr/bin and /usr/sbin; however, if you just complile Apache without specifying bindir and sbindir, it will put all of those binaries under /usr/local/apache/bin (I think). So, when your startup scripts call httpd it will end up calling the one in /usr/sbin instead of the new one. MySQL works in almost the same way and PHP would be installing itself in the new install of Apache that isn't being run in the first place.
You have two real options here. You can compile from source specifying the bindir, sbindir, sysconfdir, and all of the other directories exactly as they were set up in your original install or you can just use the updated packages for your distro - the rpm, deb, tgz, or whatever your distro uses.
|
|
|
All times are GMT -5. The time now is 08:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|