|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Upgrading application not installed in default port directory APACHE
I installed apache manually using the freebsd guides directions. So it was not in the default port directory to be upgraded by port. So how to upgrade it.
This should apply to other applications as well. Below are the steps for upgrading apache installed in a different directory First step [make sure apache is stopped and not runing] 1] Download latest version http://httpd.apache.org/ in any directory. so you cd to that directory. So say you have chosen to install it in directory /usr/local/bin you do cd /usr/local/bin than execute code below using appropriate URL. Code:
wget http://www.mirrorservice.org/sites/ftp.apache.org/httpd/httpd-2.0.63.tar.gz Code:
tar zxvf httpd-2.0.63.tar.gz Run the command below [include other parameters you want] Code:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-so --with-php --with-mysql Code:
make Code:
make install
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5 Last edited by ijk; 12th July 2008 at 07:03 AM. |
|
|||
no problem
Sorry there is no problem. It works perfectly well.
Thought it might be useful for somebody else.
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5 |
|
|||
deinstall
With the problems I am having not using ports I have decide to get rid of apache installed by the above method.
But how to I uninstall / deinstall it ! Have tried the make deinstall clean in the directory from where I installed it but it does not work
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AIX: Which Application is Using a Specific Port | vermaden | Guides | 5 | 12th April 2009 04:01 AM |
Broken Apache 2.2 Port | casteld73 | FreeBSD Ports and Packages | 5 | 23rd January 2009 11:53 AM |
Default Apache won't read .css file | erehwon | OpenBSD General | 23 | 21st September 2008 10:21 PM |
Mounting NAS as apache alias directory | Yuka | FreeBSD General | 7 | 18th July 2008 02:58 PM |
apache 2.2.8 , is it on chroot by default? | superslot | OpenBSD Security | 9 | 30th June 2008 11:56 AM |