코딩Coding/Php
-
-
-
brew services start php코딩Coding/Php 2023. 2. 22. 20:45
==> php To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php_module /opt/homebrew/opt/php/lib/httpd/modules/libphp.so SetHandler application/x-httpd-php Finally, check DirectoryIndex includes index.php DirectoryIndex index.php index.html The php.ini and php-fpm.ini file can be found in: /opt/homebrew/etc/php/8.2/ To start php now and restart at login: brew s..