GD Library extension not available with this PHP installation. Hi all,
I even added this line extension=php_gd2.dll in php.ini and restared the server but nothing changed i still have this error
i have PHP Version 7.4.5 and windows OS
I appreciate your help !
You can see if the extension is enabled by opening a page with the following code
<?php
phpinfo();
Did you also check if the php_gd2.dll file exists in the extension directory of PHP? If it doesn't exist there, enabling it in php.ini won't do a thing.
Hey @bobbybouwmann , thanks a lot for your help !
The php_gd2.dll extension is not directory of PHP. That's why i added but nothing changed
I don't see it the extension enabled , this code from configure command section might help you debug better
cscript /nologo /e:jscript configure.js "--enable-snapshot-build" "--enable-debug-pack" "--disable-zts" "--with-pdo-oci=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--without-analyzer" "--with-pgo"
I appreciate your help !
Wait what... What are you running here? I see JS. I see some PHP stuff?
I run Route::get('/phpinfo', function() {
return phpinfo();
});
to check if the extension is enabled or not , that is what you asked no ?
Make a fine inside public called phpinfo.php
Add this inside and open it in the browser
<?php
phpinfo();
Hey @sinnbeck , thanks a lot for your help !
I did create phpinfo.php file and i could not see the php_gd2.dll extension there !
Please sign in or create an account to participate in this conversation.