DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 10:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick