View Single Post
  #1   (View Single Post)  
Old 11th July 2008
ijk ijk is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 47
Default 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
Than unzip the downloaded file.
Code:
tar zxvf httpd-2.0.63.tar.gz
Than cd to the directory where apache is unzipped.

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
than do
Code:
make
than
Code:
make install
than start apache
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5

Last edited by ijk; 12th July 2008 at 07:03 AM.
Reply With Quote