LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2005, 06:44 AM   #1
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Rep: Reputation: 15
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
 
Old 10-11-2005, 07:31 AM   #2
Gort32
Member
 
Registered: Sep 2004
Distribution: Slack!
Posts: 150

Rep: Reputation: 15
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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL, PHP with Apache saudoi Solaris / OpenSolaris 12 11-19-2005 12:47 PM
upgradation of Apache, PHP and Mysql tsaravan Linux - Newbie 1 10-11-2005 06:54 AM
Php+Mysql+Apache SilentK Linux - Newbie 4 07-14-2004 09:51 PM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration