Jamey on MACOS12 PHP is no longer bundled and is not included in the HTTPD.CONF.
When I install Brew install php@8.3 it installs php, and php-fpm. I have enabled fcgi module in apache file which still exists, and configured the Webmin PHP module to find php8.3…
But in VirtualMin with everything loaded the webserver config is not picking up the PHP config.
Mod PHP is no longer in the MACOS build… so we need some kind of script to rebuild it…
There is a guy who has a source build which includes the old MACOS apache stack with. PHP
but its not in the base config.
New PHP from brew is in /usr/local/etc/php/8.3/ And target PHP install with FPM is in /usr/local/cellar/php/8.3/ where the lib’s and binaries are stored.
Any thoughts on what is necessary to get this working with Virtualmin on MACOS from latest tarballs @2.11 on Webmin and VirtualMin module loaded manually.
I would strongly recommend against using mod_php on any OS.
What happens when you do Re-Check Configuration? I assume it just can’t find PHP and PHP-FPM? You may need to modify php-lib.pl to know where your stuff is installed. There’s not consistent way to figure it out, so we just have a big list of possibilities. Since MacOS isn’t used on servers to any notable degree, we don’t know what one looks like.
The code for detecting PHP locations is probably in this general area: