I've installed apache22 from packages (pkg_add -r) from inside a jail on 8.1-RELEASE, that went really smooth except from a warning about existing Perl (perl-x_3) not being the same version as Apache's dependancy (perl-x_1).
Now I want to install php5 from ports (since the version from packages don't come with the Apache module). There were no problem with the make build, but make install stalls immediately with following message:
So from this I take Apache from packages wasn't caompiled with DSO support, and/or this apxs is needed. How do one know which features packages was compiled with?
In ports/www/apache22/files there's a patch file called patch-support__apxs.in. Can I use that patch in someway to avoid reinstalling Apache from ports? (server's on a 600Mhz :beergrin)
And... If I must reinstall Apache from ports, can I make the results from 'make build' portable to an other jail/FreeBSD installation (or make a package with the options I need)?
Any direction is much appreciated!
Now I want to install php5 from ports (since the version from packages don't come with the Apache module). There were no problem with the make build, but make install stalls immediately with following message:
Code:
/usr/local/sbin/apxs: not found
[I][...a couple of lines related to the above...][/I]
===> php5-5.3.5 : Your apache does not support DSO modules.
[I][...a couple of lines related to the above...][/I]
So from this I take Apache from packages wasn't caompiled with DSO support, and/or this apxs is needed. How do one know which features packages was compiled with?
In ports/www/apache22/files there's a patch file called patch-support__apxs.in. Can I use that patch in someway to avoid reinstalling Apache from ports? (server's on a 600Mhz :beergrin)
And... If I must reinstall Apache from ports, can I make the results from 'make build' portable to an other jail/FreeBSD installation (or make a package with the options I need)?
Any direction is much appreciated!