Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2007 20:48:45 -0500
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: php4 to php5 upgrade
Message-ID:  <4711757D.2090305@daleco.biz>
In-Reply-To: <001e01c80dff$26f8a4b0$6501a8c0@GRANT>
References:  <001e01c80dff$26f8a4b0$6501a8c0@GRANT>

next in thread | previous in thread | raw e-mail | index | archive | help
Grant Peel wrote:
> Hi all,
> 
> Does anyone know where there might be some clear documentation the 
> discribes the complete removal of php4 and its extentions, then how to 
> build php5 extentions.
 
I can't say for sure that there's any such.  Has a web search
turned up nothing, then?

Surely it's not much harder than:

$ cd /usr/ports/lang/php4-extensions && make deinstall clean && make distclean
$ cd /usr/ports/lang/php4 && make deinstall clean && make distclean

and a little cleaning up in /usr/local/lib and /usr/local/etc.


> I want to use ports if possible.

Definitely possible.
 
> 
> P.S. one thing I have always tripped over is weather to build php first, 
> then, run the meta port for extensions or vice versa ... ?


The extensions meta-port will pull PHP in as a dependency if you
haven't already installed it*, so the answer is not vice-versa, per
se.   Do lang/php5 first.

Kevin Kinsey

*Or it will crap out.  Can't remember OTTOMH.
-- 
Start every day off with a smile and get it over with.
		-- W.C. Fields



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4711757D.2090305>