I’m using the latest of Local on 10.14 Mojave OSX with a WP6.3 site pulled from WPEngine. For some reason, Local didn’t create a wp-config.php file, so I manually created one in the site folder and that worked.
Now the site works with PHP7.4, but doesn’t with PHP8.2 and throws the browser error “The server is temporarily unable to service your request due to maintenance downtime or capacity problems.”
Using Nginx or Apache doesn’t make a difference; the router mode makes no difference. The installed standard OSX Apache is stopped. I raised RAM allocation in wp-config.php with no luck.
Apache error log:
[Mon Oct 09 09:28:59.849613 2023] [proxy:error] [pid 42192:tid 123145384521728] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /Users/username/Library/Application Support/Local/run/fshWnRvpr/php/php-fpm.socket (unused-domain-string-but-required) failed
[Mon Oct 09 09:28:59.850162 2023] [proxy_fcgi:error] [pid 42192:tid 123145384521728] [client 127.0.0.1:49613] AH01079: failed to make connection to backend: httpd-UDS
PHP log Warning:
[09-Oct-2023 15:42:50 UTC] PHP Warning: PHP Startup: Unable to load dynamic library ‘/Users/username/Library/Application Support/Local/lightning-services/php-8.2.10+1/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so’