Laravel Intervention Image GD library extension

后端 未结 5 1634
不知归路
不知归路 2021-02-08 03:11

First of all, I am sorry if my question may be too vague. So, I will try to clarify my question as much as possible.

I am currently developing a Laravel application, and

5条回答
  •  情话喂你
    2021-02-08 03:33

    This is because the GD Library is missing on your server For PHP 8.x

    For PHP 8.x try the following:

    Find your (proper) php.ini file, and then find the line:

    ;extension=gd, remove the semicolon in the front. ; means the line is commented, so remove the comment.

    The line should look like this:

    extension=gd
    

    Then restart apache and you are ready to go.

    NOTE: If You are using php version <=7.x

    ;extension=php_gd2.dll, itshould look like this: extension=php_gd2.dll

提交回复
热议问题