php5 on a system upgraded from FBSD5.4R to FBSD6.3-p3

P Bielecki pawciobiel at
Thu Oct 2 10:48:57 UTC 2008

FreeBSD Daemon pisze:
> dear list,
> i just upgraded my system from 5.4R to 6.3-p3
> when i now try to install php5 w/ apache integration (apache module) i
> get the following error when i try to start apache20:
> Cannot load /usr/local/libexec/apache2/ into server:
> /usr/local/libexec/apache2/ Undefined symbol "__res_ninit"
> I googled but neither of the solution provided by the net community
> works ... i would really appreciate help.
> Thanks in advance!
> Zheyu

Install compat5x, compat6x,
update ports and index, (cvsup..., portsdb -Fu),
rebuild all your ports (portupgrade -aP)
and build apache2, or 22, and php5 with it's APR.

Hope it helps.

Paweł Bielecki

More information about the freebsd-ports mailing list