Post

Replies

Boosts

Views

Activity

Reply to Unable to use PHP on since upgrading to Mac OS Monterey
Create your certificate as described in https://www.simplified.guide/macos/keychain-cert-code-signing-create Find the path of libphp7.so module in your system, In my case with homebrew it is- /usr/local/opt/php@7.4/lib/httpd/modules/libphp7.so Then execute command codesign -s "YOUR CERTIFICATE NAME" --keychain ~/Library/Keychains/login.keychain-db /usr/local/opt/passenger/libexec/buildout/apache2/mod_passenger.so Finally in httpd.conf- add this code LoadModule php7_module /usr/local/opt/php@7.4/lib/httpd/modules/libphp7.so "YOUR CERTIFICATE NAME" Restart Apache sudo apachectl restart In my case, it is working now.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’21