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.
- Copy old /etc/apache2 dir and /etc/conf.d/apache2 to some safe space, they will be overwritten with different structure so it is good to keep them to check later
- Emerge apache2
- Update the configuration files (etc-update)
- Emerge php
- Update the configuration files
Restart Apache (/etc/init.d/apache2 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:
- Check if APACHE_OPTS (in /etc/conf.d/apache2) contains „-D SVN -D SVN_AUTHZ -D DAV -D DAV_FS“ if not – add them, restart Apache
- 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/modules.d/47_mod_dav_svn.conf. If they are different (mine were) copy the saved over the new one. Restart the server
- 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.









Comments
yeah I have just downloaded mine and it's working fine now in my pC. custom made cabinets custom cabinets ohio
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
i do what u say but an error happened to ma site i will restart the whole system
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.
It's really a very interesting posting indeed. Thank you for sharing such interesting posting with us. chat facili
Good article, thanks for upgrading tutorial! chat senza registrazione gratis
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.
Great!
These are information that is worth reading. I am learning a lot through your website.
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.
I am very impressed with the subject matter of this blog, you have command of the details my friend.
Nike air max 2009
How to go about it..Please can someone let me know about it..
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!
lours are so matching each other. Maybe I'll give you another project
check this out when you get a chance
wow, what a great place
really love coming here
fantastic article
nice post
I had already downloadd it, so thanks for the show! http://www.buycheapguess.org http://www.buycheapguess.org
Great information, thanks for passing it on
Thank you for keepings your code upated man. Truly helps for newbies like me. Thanks.
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.
Man you are genuinely an expert in relation to this. Thank you for helping people like us.
clearly written and good reminder about the multiple levels of undo – always handy I find.
SSL, SVN and even PHP. Mainly because configuration files are changed and it's upgrade is destroying some of the old settings.
I like your design of this product. All of the colours are so matching each other. Maybe I'll give you another project
the color looking so nice..by mesothelioma lawyer
RZTUzf
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.
Thank you all (the author and readers) for the help provided through this post. You solved a problem of mine. tnks!
Update: Please check the updated message about installing Apache, PHP, MySQL on Windows ..
jogos online
jogos de carros
I wish to say seriously thank you for this beneficial informations. now i comprehend about it. Thank you !
Thank you for the link to the „Gentoo upgrade to Apache 2.2“ article. It is really good!
Good job done about the post, thank you!
Its really a very interesting posting indeed. Thanks for sharing such interesting posting with us.
I just replicated what you did and it did work. So sweet! Thanks.
Thanks for upgrading tutorial! custom research papers
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
can you run this command line: # emerge -pv php phpdbg-client apache
Increasingly, I see that many things are interrelated in the world of technology. Therefore, there is always the latest update of the applications.
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
The color combination is looking so nice. By promotional playing cards
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.
Transformative works and cultures, an online-only, peer-reviewed journal focusing on media and fan studies
can you run this command line: # emerge -pv php phpdbg-client apache
It doesn't work at my PC. What could I do wrong to make that happen? Thanks.
I like your design of this product. All of the colours are so matching each other. Maybe I'll give you another project soon.
I'm pretty sure its necessary to at least upgrade your openssl package