Following this guide: How to sign homebrew PHP module in macOS
I'm stuck on step five:
Locate location or path of PHP module from Apache's PHP LoadModule directive.
$ grep -nir "^loadmodule.*php" /etc/apache2 /etc/apache2/other/00-httpd.conf:4:LoadModule php7_module >/opt/homebrew/opt/[email protected]/lib/httpd/modules/libphp7.so
I keep running into the error:
zsh: no such file or directory: /etc/apache2/other/00->httpd.conf:4:LoadModule
I've located my install of PHP at the following path:
/usr/local/opt/[email protected]/8.1.0_3/lib/httpd/modules/libphp.so
But it seems to be some sort of error with /etc/apache2/other/00->httpd.conf - there doesn't even seem to be a httpd.conf file at that location.
Any ideas?