Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hey, please help a true n00b: I installed Redhat Linux 9 using my Dell ServerAssistant CDs and its up and running perfectly. Except, its running old versions of Apache (2.0.40) and PHP (4.2.2). Up2date doesn't seem to upgrade them, so I assume I need to upgrade them from source.
I would like to know if there is a HOW-TO about how to maintain the configuration of Apache/PHP and just upgrade it in situ? Any pointers you can give me would be appreciated!
1 - Download the latest version of apache, extract it , then run ./configure, make and make install.
2 - Download the latest version of php, then run ./configure --with-apxs2=/usr/local/apache2/bin/apxs , make and make install.
You can add of course other options to the configure script.
Your old apache configuration files are located in /etc, and the new ones are located in /usr/local/apache2/conf. Edit the new httpd.conf as needed.
3- Remove the old apache and php.
4-/usr/local/apache2/bin/apachectl start to start apache.
regards,
HTH.
Guys I am in this situation. I have enough knowledge to be dangerous and am trying to setup my dev platform for a website using Lin/Apache/MySQL instead of Win/IIS/MySQL and tend to use the command line rather than the package managers. Problem is I installed Apache 1.3x in a vague attempt to get a fresh installation but Apache 2 is installed and now I don't know what is running from where. Apparently its apache 2 and php is working with MySQL available but none of the MySQL functions work. and apxs is not found anywhere but listed in the php build list etc - I'm lost.
I want to blow away all apaches then start again with only one version of PHP and Apache.
Where is everything??? ver 2 seems to be in /usr/sbin and /var/www and 1.3 is in its own place in /usr/local and god knows what is configured where in /etc/...
I am tempted to start again with a new Linux install and not select Apache on install but there must be a simple wya to get rid of them all!
Originally posted by hfawzy 1 - Download the latest version of apache, extract it , then run ./configure, make and make install.
2 - Download the latest version of php, then run ./configure --with-apxs2=/usr/local/apache2/bin/apxs , make and make install.
You can add of course other options to the configure script.
Your old apache configuration files are located in /etc, and the new ones are located in /usr/local/apache2/conf. Edit the new httpd.conf as needed.
3- Remove the old apache and php.
4-/usr/local/apache2/bin/apachectl start to start apache.
regards,
HTH.
how do you remove the old apache and php.
and wheres the best place to d/l the rpms or source for apache and php ?
do you mean source or rpms
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.