On Wed, Dec 29, 2021 at 7:14 PM James Coyle <jamescoyle1@xxxxxxx.invalid> wrote: > > A short while ago, I loaded PHP to my Apache setup in Mac OS Monterey. > > I have since learned that I have to get a certificate to make this work correctly. > > I have successfully configured the certificate, but I’m getting an error that I cannot figure out: > > Wed Dec 29 14:23:22.203112 2021] [so:notice] [pid 4404] AH06662: Allowing module loading process to continue for module at /usr/local/opt/php/lib/httpd/modules/libphp.so because module signature matches authority "James Coyle" specified in LoadModule directive > httpd: Syntax error on line 191 of /private/etc/apache2/httpd.conf: </FilesMatch> without matching <FilesMatch> section > > This is the pertinent part of the httpd.conf file: > > #PHP was deprecated in macOS 11 and removed from macOS 12 > #LoadModule perl_module libexec/apache2/mod_perl.so > LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so > LoadModule php_module /usr/local/opt/php/lib/httpd/modules/libphp.so "James Coyle" > </FilesMatch \.php$> ^^^ this should not have a leading slash --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx