MacOS Monterey - PHP extension GD is not loaded #915
Replies: 2 comments 3 replies
-
Extension If you have a INI file with If you are getting an error with the |
Beta Was this translation helpful? Give feedback.
-
This tap does not support MAMP. I would recommend removing MAMP and using php from this tap with Please configure httpd as per this guide |
Beta Was this translation helpful? Give feedback.
-
On MacOS (Monterey) I switched PHP version to 8.0. With MAMP 6.3 (not PRO). In my source code (PHP, Nette), when I want to work with Image library, I get error "PHP extension GD is not loaded". Its true, in my php.ini (in MAMP directory) isn`t any row with "extension=gd".
In older version PHP, the GD extension works. I can see in /Applications/MAMP/bin/php/php7.4.12/include/php/ext/gd folder. But in /Applications/MAMP/bin/php/php8.0.0/include/php/ext isn`t any "gd" folder. Why?
I tried to install some extension with PECL, but it wasn`t helpful.
Homebrew was updated to latest PHP at the beginning with:
I tried run brew install gd or reinstall, nothing works (command finish with success).
Even when I run php -m I can see module "gd". But still there si PHP warning with not loaded extension GD
Thanks for advice!
Beta Was this translation helpful? Give feedback.
All reactions