PHP 8 renames `php_gd2.dll` to `php_gd.dll`

  • | 993 points

    This is both a heads-up and a kind feature request :)

    PHP 8 renames php_gd2.dll file to php_gd.dll, so it is possible that when using Laragon, you might come across an error saying unable to load GD extension.

    That is because the file is renamed. I use Laravel to switch PHP versions, I was wondering if it would be possible to run some sort of a script to rename gd2 to gd back and forth when the PHP.ini file is initialized by Laragon. If the php.ini file says gd, and if the file is php_gd2.dll, or the other way around, it would be amazing if Laragon could make this quick swap on behalf of the user.

    Thank you.

  • administrators
    | 130514 points

    @Ayesh : Thank you for the heads-up. Laragon will automatically detects and updates that.

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.