Laravel Intervention Image GD library extension

后端 未结 5 777
情深已故
情深已故 2021-02-08 02:47

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:20

    This is because the GD Library is missing on your server.

    You must enable the library GD2.

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

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

    The line should look like this:

    extension=php_gd2.dll

    Then restart apache and you are ready to go.

提交回复
热议问题