AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using MacBook-Air-Dmitrij.local. Set the 'ServerName' directive globally to suppress this message
[Sun Jul 24 15:46:15.784469 2022] [mpm_prefork:notice] [pid 95236] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Sun Jul 24 15:46:15.785022 2022] [core:notice] [pid 95236] AH00094: Command line: '/opt/homebrew/opt/httpd/bin/httpd -D FOREGROUND'
[Sun Jul 24 15:56:25.508825 2022] [mpm_prefork:notice] [pid 95236] AH00169: caught SIGTERM, shutting down
LoadModule php_module /opt/homebrew/opt/php/lib/httpd/modules/libphp.so
LoadModule php_module /opt/homebrew/opt/php@7.4/lib/httpd/modules/libphp7.so
brew install php@8.0
LoadModule php_module /opt/homebrew/opt/php@7.4/lib/httpd/modules/libphp7.so
[24-Jul-2022 20:11:24] NOTICE: Terminating ...
[24-Jul-2022 20:11:24] NOTICE: exiting, bye-bye!
[24-Jul-2022 20:11:25] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[24-Jul-2022 20:11:25] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[24-Jul-2022 20:11:25] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[24-Jul-2022 20:11:25] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[24-Jul-2022 20:11:25] NOTICE: fpm is running, pid 38340
[24-Jul-2022 20:11:25] NOTICE: ready to handle connections
httpd: Syntax error on line 182 of /opt/homebrew/etc/httpd/httpd.conf: Can't locate API module structure `php_module' in file /opt/homebrew/opt/php@7.4/lib/httpd/modules/libphp7.so: dlsym(0x2087888c0, php_module): symbol not found
drwxr-xr-x 4 brepex admin 128 24 июл 19:12 .
drwxr-xr-x 4 brepex admin 128 24 июл 19:06 ..
-rw-r--r--@ 1 brepex admin 6148 24 июл 19:12 .DS_Store
-r--r--r-- 1 brepex admin 13464336 24 июл 18:59 libphp7.so
brew uninstall --force php@7.4
brew install php@7.4