Re: PHP httpd.conf error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks - that did help.  Now if I can fix the other problem listed in my other email, I should be good to go.

> On Dec 29, 2021, at 4:19 PM, Eric Covener <covener@xxxxxxxxx> wrote:
> 
> 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
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux