I've been unable to find anything on this. I had Apache running just fine with PHP 7.4.25 When I upgraded to PHP 8, I could not get the LoadModule for php8 to load (or find it).
FreeBSD Version: 13.0-RELEASE
Apache24 Version: Apache/2.4.51 (FreeBSD)
PHP Version: PHP 8.0.12 (cli) (built: Oct 24 2021 01:19:09) ( NTS )
The entry in httpd.conf that used to work:
I also installed the following package, but don't know where it ended up or how to "point" apache to it:
Spending the day trying to figure this out, it seems that PHP 8 made major changes in where and how the LoadModule functionality is done. Lots of partial answers out there but no clear "Here's how to make it work". This seem like it should be a common problem ? TIA
FreeBSD Version: 13.0-RELEASE
Apache24 Version: Apache/2.4.51 (FreeBSD)
PHP Version: PHP 8.0.12 (cli) (built: Oct 24 2021 01:19:09) ( NTS )
The entry in httpd.conf that used to work:
Code:
LoadModule php7_module libexec/apache24/libphp7.so
Code:
pkg install mod_php80