Upgrade to Apache 2.2 on Gentoo (PHP5 SVN SSL)

How to easily upgrade Apache 2.2 running PHP5 and SVN with SSL under Gentoo.

Recently I've upgraded the Apache on my gentoo server from 2.0 to 2.2.

Because it looked like just the minor change in numbers I ahven't even read the documentation. Silly me.

Everything stopped. SSL, SVN and even PHP. Mainly because configuration files are changed and it's upgrade is destroying some of the old settings. Someone said that it should be name Apache 3.0, from the configuration point of view – I have to agree.

Here are the steps one should take to make the whole process successful.

  1. Copy old /etc/apache2 dir and /etc/conf.d/a­pache2 to some safe space, they will be overwritten with different structure so it is good to keep them to check later
  2. Emerge apache2
  3. Update the configuration files (etc-update)
  4. Emerge php
  5. Update the configuration files

Restart Apache (/etc/init.d/a­pache2 restart) and check if PHP sites are working. If not – edit the /etc/conf.d/apache2 file and put „-D PHP5“ on the end of APACHE_OPTS string, again restart Apache

If your Apache Subversion server is not working (and it was using DAV module) do following:

  1. Check if APACHE_OPTS (in /etc/conf.d/a­pache2) contains „-D SVN -D SVN_AUTHZ -D DAV -D DAV_FS“ if not – add them, restart Apache
  2. If the SVN is still not working compare the dav_svn configuration files with the saved ones on the beginning. In my system they are in file /etc/apache2/mo­dules.d/47_mod_da­v_svn.conf. If they are different (mine were) copy the saved over the new one. Restart the server
  3. If your face still is not forming into a „happy banana shape“ upgrade neon (emerge net-misc/neon) and obviously – restart Apache.

That's all I've done. Everything is working great.

I actually upgraded also openssl and subversion packages, but I don't think it was necessary.

Happy upgrading!

Update:

This article is for people who have always newest software on their server.

Trackback URL for this post:

http://piotr.zalewa.info/trackback/38

Comments

Anonymous (not verified) 1970, January 1 - 00:00

yeah I have just downloaded mine and it's working fine now in my pC. custom made cabinets custom cabinets ohio

john werzadinaz (not verified) 1970, January 1 - 00:00

That is our 3 rd holiday to this site. Were starting up a whole new project inside very same specialized niche simply because this blog site. Your blog post furnished people significant data to use. You've done an admirable job. Women that can preserve his or her skin color plumped way up along with lovely issue, end up watching that will his or her arms get off these people. hb1 visa

افلام اون لاين (not verified) 1970, January 1 - 00:00

i do what u say but an error happened to ma site i will restart the whole system

Anonymous (not verified) 1970, January 1 - 00:00

Attempt not in this caring court to facilitate act a trouble-free overturn telephone lookup with the intention of reverse phone come across not by home who is trailing with the aim of phone number. Plus you know how to too exhaust this mobile phone number search with the aim of make a phone search a propos so after to liar. In addition to even with a transpose lookup can get something done the swap telephone method the most excellent thing you can always carry out rider you think with reference to it at present.

jenny (not verified) 1970, January 1 - 00:00

It's really a very interesting posting indeed. Thank you for sharing such interesting posting with us. chat facili

franz (not verified) 1970, January 1 - 00:00

Good article, thanks for upgrading tutorial! chat senza registrazione gratis

biogetica herpes (not verified) 1970, January 1 - 00:00

Excellent stuff from you man. I’ve read your things before and you are just too awesome. I adore what you have got right here. You make it entertaining and you still manage to keep it smart. This is truly a great blog. Thanks for sharing.

coach purses (not verified) 1970, January 1 - 00:00

Great!

x-ray technician salary (not verified) 1970, January 1 - 00:00

These are information that is worth reading. I am learning a lot through your website.

elizabeth arden perfume (not verified) 1970, January 1 - 00:00

Intimately, the post is really the greatest on this worthw hile topic. I match in with your conclusions and can eagerly look forward to your next updates.

Fosamax Lawsuit (not verified) 1970, January 1 - 00:00

I am very impressed with the subject matter of this blog, you have command of the details my friend.

Nike Air Max sale (not verified) 1970, January 1 - 00:00
cityville cheat codes (not verified) 1970, January 1 - 00:00

How to go about it..Please can someone let me know about it..

cheap rick ross tickets (not verified) 1970, January 1 - 00:00

Nice site! I enjoy a couple of from the articles which have been written, and particularly the comments posted! I will definately be visiting again!

bag manufacturer (not verified) 1970, January 1 - 00:00

lours are so matching each other. Maybe I'll give you another project

New York Mesothelioma Lawyer (not verified) 1970, January 1 - 00:00

check this out when you get a chance

Mesothelioma Lawyer California (not verified) 1970, January 1 - 00:00

wow, what a great place

Effexor Lawsuit (not verified) 1970, January 1 - 00:00

really love coming here

Depuy Hip Recall (not verified) 1970, January 1 - 00:00

fantastic article

Mesothelioma Lawyer (not verified) 1970, January 1 - 00:00

nice post

Guess Shoes online (not verified) 1970, January 1 - 00:00

I had already downloadd it, so thanks for the show! http://www.bu­ycheapguess.org http://www.bu­ycheapguess.org

phuket villas (not verified) 1970, January 1 - 00:00

Great information, thanks for passing it on

hair loss treatment for women (not verified) 1970, January 1 - 00:00

Thank you for keepings your code upated man. Truly helps for newbies like me. Thanks.

mayweather vs ortiz (not verified) 1970, January 1 - 00:00

Your articles arouse the echo in people's heart who may have the similar experiences no matter he or she is a foreigner or a local resident. And it's also ,for me, a trip down the memory lane .Good to know your story and thank you.

onketing (not verified) 1970, January 1 - 00:00

Man you are genuinely an expert in relation to this. Thank you for helping people like us.

Fashion Straight Lace Wig (not verified) 1970, January 1 - 00:00

clearly written and good reminder about the multiple levels of undo – always handy I find.

recardos para orkut (not verified) 1970, January 1 - 00:00

SSL, SVN and even PHP. Mainly because configuration files are changed and it's upgrade is destroying some of the old settings.

مشاهدة (not verified) 1970, January 1 - 00:00

I like your design of this product. All of the colours are so matching each other. Maybe I'll give you another project

mesothelioma lawyer (not verified) 1970, January 1 - 00:00

the color looking so nice..by mesothelioma lawyer

NcmQyn (not verified) 1970, January 1 - 00:00

RZTUzf

sauna slabeste (not verified) 1970, January 1 - 00:00

I believe is not so much difference and i wil stay on the current version without updating. It works good so i don't have any reason to update.

Torrent sites (not verified) 1970, January 1 - 00:00

Thank you all (the author and readers) for the help provided through this post. You solved a problem of mine. tnks!

mazar (not verified) 1970, January 1 - 00:00

Update: Please check the updated message about installing Apache, PHP, MySQL on Windows ..
jogos online
jogos de carros

maigrir des cuisses (not verified) 1970, January 1 - 00:00

I wish to say seriously thank you for this beneficial informations. now i comprehend about it. Thank you !

Pariuri sportive (not verified) 1970, January 1 - 00:00

Thank you for the link to the „Gentoo upgrade to Apache 2.2“ article. It is really good!

write master's thesis (not verified) 1970, January 1 - 00:00

Good job done about the post, thank you!

Austin Real Estate (not verified) 1970, January 1 - 00:00

Its really a very interesting posting indeed. Thanks for sharing such interesting posting with us.

copper kitchen sinks (not verified) 1970, January 1 - 00:00

I just replicated what you did and it did work. So sweet! Thanks.

Mike (not verified) 1970, January 1 - 00:00

Thanks for upgrading tutorial! custom research papers

magee (not verified) 1970, January 1 - 00:00

Here is how it starts: „Recently I've upgraded the Apache on my gentoo server from 2.0 to 2.2. Because it looked like just the minor change in numbers I ahven't even read the documentation. Silly me. Everything stopped. SSL, SVN and even PHP…“recados para orkut

clothing factory (not verified) 1970, January 1 - 00:00

can you run this command line: # emerge -pv php phpdbg-client apache

Cord Blood Banking Cost (not verified) 1970, January 1 - 00:00

Increasingly, I see that many things are interrelated in the world of technology. Therefore, there is always the latest update of the applications.

Johnny Quid (not verified) 1970, January 1 - 00:00

Man, I can't thank you enough. I have searched for hours and you are the only one with an answer that made sense and worked. Thank you. The Gentoo documentation never mentioned anything about this in their upgrade explanations. online diploma programs

promotional playing cards (not verified) 1970, January 1 - 00:00

The color combination is looking so nice. By promotional playing cards

wholesale gun cases (not verified) 1970, January 1 - 00:00

Talking about skin, there are some disease of skin that still unhealed. Make repairs as needed, so anything would be more effective. Maybe for a next few years, it will be able to be healed. They are still developing for that.

lifesocool (not verified) 1970, January 1 - 00:00

Transformative works and cultures, an online-only, peer-reviewed journal focusing on media and fan studies

lose weight (not verified) 1970, January 1 - 00:00

can you run this command line: # emerge -pv php phpdbg-client apache

Buy Research Paper Online (not verified) 1970, January 1 - 00:00

It doesn't work at my PC. What could I do wrong to make that happen? Thanks.

latex mattress (not verified) 1970, January 1 - 00:00

I like your design of this product. All of the colours are so matching each other. Maybe I'll give you another project soon.

macaws (not verified) 1970, January 1 - 00:00

I'm pretty sure its necessary to at least upgrade your openssl package

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.