|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Upgrade Apache 1.3 mod_ssl to Apache 2.2
FreeBSD 6.3-STABLE AMD64.
I Am wanting to update the Apache to meet some criteria of a developer who will be modifying some of our BAMP apps. PKG_INFO tells me I have apache+mod_ssl-1.3.41+2.8.31 installed. I issue the command: portupgrade -o www/apache22 -rf apache13\* which according to a couple of web sources should update and recompile the Apache and dependencies to 2.2. The command uninstalls and the reinstalls the apache+mod_ssl-1.3.41+2.8.31 package. What is the proper (and safest) way to update our Apache? Thanks, Brett |
|
|||
shoot. I pasted the wrong command in my post last night. When I use portupgrade -o www/apache22 -rf apache13\* I am told ** No such installed package: apache13*
So then I tried portupgrade -o www/apache22 -rf apache+mod_ssl\* which is the one that results in uninstalling and reinstalling the Apache 1.3 mod_ssl. |
|
|||
I just tried it but nothing happens. The system seems to pause and then my bash prompt comes up.
<copy and paste> [root@team ~]# portupgrade -o www/apache22 apache+mod_ssl\* [root@team ~]# |
|
|||
#pkg_info | grep apache
apache+mod_ssl-1.3.41+2.8.31 The Apache 1.3 webserver with SSL/TLS functionality apache-ant-1.7.0_2 Java- and XML-based build tool, conceptually similar to mak so i then tried portupgrade -o www/apache22 apache+mod_ssl-1.3.41+2.8.31 but get the same results as above. Any ideas on why I seem to be stuck here? What are the ramifications if I uninstall the current Apache and reinstall Apache 2.2? |
|
|||
My maintenance window ran out. I'll have to wait until the weekend.
If I deinstall the current port, leave the current httpd.conf in place, and install the Apache22 port will Apache2 basically use the same settings or am I better with a clean one and changing things to match such as directory locations, php, etc? |
|
||||
The latter. There are a lot of differences (esp. the minimal httpd.conf and the separate vhosts and ssl config files which are now pulled in by 'Include'ing them) and it's better to get used to the changes straight away. Keep your old httpd.conf as a reference and fill in the necessary details in the new config files.
|
|
|||
I finally was able to get it updated.
The only gotcha was I couldn't get Apache2 to start and ended up having to remove mod_perl and install mod_perl2. Thanks DutchDaemon for your advice. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Big5 Character Set in Apache problem after upgrade to 6.4 | paul-lkw | FreeBSD Installation and Upgrading | 0 | 23rd February 2009 09:20 AM |
Apache with php stopped working after upgrade | map7 | FreeBSD Ports and Packages | 7 | 7th December 2008 10:39 PM |
Apache 1.3 vs. 2.2 | windependence | FreeBSD General | 4 | 16th June 2008 10:10 PM |
Apache & PHP | themaster | FreeBSD General | 2 | 14th June 2008 05:49 PM |
Apache SSL | mike171562 | FreeBSD General | 0 | 5th May 2008 09:41 PM |