Created
January 8, 2025 07:28
-
-
Save WahidinAji/e1daeb95e2d7ec4adf319c8f631a5ef5 to your computer and use it in GitHub Desktop.
php .ini location in macbook arm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
<FilesMatch \.php$> | |
SetHandler application/x-httpd-php | |
</FilesMatch> | |
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.4/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment