php80 just installs the cli component. For apache24 you also need either php80-apache2handler or php80-fpm
For nginx you also need php80-fpm There are any number of additional modules that you may install, depending on you site’s requirements. To list everything port list 'php80*' > On May 5, 2022, at 7:12 PM, Craig Treleaven <ctrelea...@cogeco.ca > <mailto:ctrelea...@cogeco.ca>> wrote: > >> On May 5, 2022, at 2:13 PM, JEFFRY KILLEN <jekil...@prodigy.net >> <mailto:jekil...@prodigy.net>> wrote: >> >> Hello: >> >> I am new to macports. My current interest to so install php on >> MacOS Monterey. But I do no see specific info on what PHP80 >> installs. Is it just a CLI installation, or is there a module that can >> be used with localhost Apache? >> >> If not for web server, is there a port that will install php. Or do I >> have to reinstall Apache with configuration for using php? It has >> been a while since I have had to negotiate these details. >> >> Some 12 years ago I compiled and installed Apache with php >> from source on a FreeBSD system. >> >> Thanks for time and attention: >> JK > > Hi: > > Have you had a look at the howto page on for PHP? > > https://trac.macports.org/wiki/howto/PHP > <https://trac.macports.org/wiki/howto/PHP> > > Craig > Marius -- Marius Schamschula