Question

I have an issue with lang/php5(5) FreeBSD 10 port. I need to build it with apache module, but i don't see this option in configure section. It offers only cli, cgi and fpm version, though I strictly remember that I have already built php5 with this module. Both lang/php5 and lang/php55 have this problem. Port collection is fresh (from 31 March). I cannot run my apache without php.

P.S. My installed apache version is 2.4.

lang/php5 port configure screenshot

Was it helpful?

Solution

You want the new www/mod_php5 port.

OTHER TIPS

The Apache PHP module has been separated from the main PHP port. If you had the APACHE OPTION selected, you have to perform the following steps:

1) update your lang/php* options (i.e. 'make config') 2) rebuild lang/php* port 3) install www/mod_php* port

It is mandatory to build both ports with the same DEBUG and ZTS options, so if you have a threaded Apache (i.e. worker or event MPM) you have to select the ZTS option in lang/php* port.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top