Multiple version of php.


Active Member

Reaction score: 9
Messages: 143

I have hundreds of vhosts.

As a matter of fact, I have it working with Nasrudin's patch and php73, php74 and php80.

I am nullfs-mounting all php-versions into the home-directories of all users at the same time. I only change the path to the php-fpm socket in the apache (+mod_fastcgi) config to the one I want for the relevant vhost.

This seems to work surprisingly well for now.



Reaction score: 20
Messages: 50

Hi Nasrudin,

it seems that pear is now using (from Uses) and your diff does not work anymore.

Do you have suggestions how to fix this (and all other pear ports)?
I fixed pear via this change to the port Makefile (apologies for the lack of diff here):

        @cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${PHPBASE}/bin/php -q ./go-pear

Note the PHPBASE there is a replacement for what was there before.