The framework needs the following extension(s) installed and loaded: intl.? |
Well, according to my php.ini neither:
;extension=mysqli ;extension=intl is enabled. But I no longer get the first error, now I cannot connect to the database: "Unable to connect to the database. Main connection [MySQLi]: No such file or directory" But enabling: extension=mysqli makes no difference. This is what homebrew throws at me when running $ brew info php: php: stable 8.1.2 (bottled), HEAD General-purpose scripting language https://www.php.net/ Not installed From: https://github.com/Homebrew/homebrew-cor...ula/php.rb License: PHP-3.01 ==> Dependencies Build: httpd ✘, pkg-config ✘ Required: apr ✔, apr-util ✔, argon2 ✔, aspell ✔, autoconf ✔, curl ✔, freetds ✔, gd ✔, gettext ✔, gmp ✔, icu4c ✔, krb5 ✔, libpq ✔, libsodium ✔, libzip ✔, oniguruma ✔, openldap ✔, [email protected] ✔, pcre2 ✔, sqlite ✔, tidy-html5 ✔, unixodbc ✔ ==> Options --HEAD Install HEAD version ==> Caveats To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php_module /usr/local/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: /usr/local/etc/php/8.1/ To restart php after an upgrade: brew services restart php Or, if you don't want/need a background service you can just run: /usr/local/opt/php/sbin/php-fpm --nodaemonize ==> Analytics install: 105,406 (30 days), 319,404 (90 days), 799,369 (365 days) install-on-request: 84,769 (30 days), 254,690 (90 days), 722,210 (365 days) build-error: 55 (30 days) in /Applications/MAMP/htdocs $ Notice how is says 'Not installed'. Now, HOW on earth can brew claim there's a PHP 8.1.2 on my system when there's clearly not – only MAMP has a version 8 which is specifically versiopn 8.0.8? The ONLY version of PHP related to brew is [email protected] … Why is PHP such a complete mess to get up and running properly? |
Welcome Guest, Not a member yet? Register Sign In |