Can't Upgrade Apache

Hi all, I'm trying to upgrade Apache 2.2.6 to 2.2.15 or the latest Apache due to PCI compliance. I tried entering the command below but it give me "apache2 is already the newest version". Do I need to add something to source.list. The server is Debian. Please help me. Thanks.
apt-get update
apt-get install apache2

Open in new window

infernothaoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fosiul01Commented:
yum or apt-get would not give you 2.2.15

you will have to download and have to install from source

0
infernothaoAuthor Commented:
Thank you for answering Fosiul01. I have not install anything from source before... At least not successfully. Can you give me a rough description or link me to a site? Thanks.
0
fosiul01Commented:
yup

http://www.fosiul.com/index.php/2009/09/how-to-install-apache2-php-mysql-from-source/

this is my own tutorial, every time i configure any server i use this. its works perfectly


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

infernothaoAuthor Commented:
Wow.. thanks for the quick reply. Your tutorial looks very detail. I'll start tomorrow and since I'm about to leave. Again thanks.
0
fosiul01Commented:
no problem, just let me know if you having any problem.will try my best to fix it


0
infernothaoAuthor Commented:
Hi Fosui01, I think I follow instruction correctly. However, after I did /etc/init.d/apache2 restart I checked my phpInfo() the Apache version is still the same. I did not see any error when I was doing "make install". Did I miss something?
0
fosiul01Commented:
ok
according to my one

apache would be in

/usr/local/apache/bin/apachectl start

if you have previous version of apache you will have to stop that

which patch did you put at time of install ??


0
infernothaoAuthor Commented:
Oh... I thought the new Apache will replace the old one. I downloaded "httpd-2.2.15.tar.gz". Ok... I stop the old Apache and try to start the new Apache with the command "/usr/local/apache/bin/apachectl start". It gave me the error below.
httpd: apr_sockaddr_info_get() failed for igor
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Open in new window

0
fosiul01Commented:
Its because of your host name

edit

/etc/hosts file

and use iP of your server + host name

192.168.1.2  web.yourdomain.com

( you can use any host name)

now try  to restart


0
infernothaoAuthor Commented:
Thanks Fosiul01. That works. Am I not suppose to see my sites. Also, am I suppose to configure the new Apache so it will know where all my sites info are located? Sorry, I have never updated Apache before. Anyway thanks for all the helps.
0
fosiul01Commented:
told you, i always use my tutorial to setup any linux server

anyway its good that its works

now they way you did before do same way you will have to do

but here
your httpd conf would be

/usr/local/apache/conf/httpd.conf

and your virtual host would be on

/usr/local/apache/conf/extra/http-vhost.conf




0
infernothaoAuthor Commented:
Ok thanks for all the helps Fosiul01.
0
fosiul01Commented:
Can i ask for a favor please.. if my tutorial helped you.. can you please leave a feed back .on my site for that tutorial..
i would be really great full for that

thanks


0
infernothaoAuthor Commented:
I just leave a feed back on your site. :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.