Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork185
MacOS Monterey - PHP extension GD is not loaded#915
-
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! |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments 3 replies
-
Extension If you have a INI file with If you are getting an error with the |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I found only and Start and Stop MAMP. But in loaded PHPinfohttp://localhost/MAMP/phpinfo.php, still I can`t see "GD" module. Call
|
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
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 |
BetaWas this translation helpful?Give feedback.
All reactions
-
I get error, when want
Maybe it is caused by MAMP settings. Now I`m worry about my databases to not be deleted when removing MAMP. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yes will have to install mysql using brew and move your databases to it. Or you can stick to using MAMP and remove php from this tap |
BetaWas this translation helpful?Give feedback.