Laravel Intervention Image GD library extension

后端 未结 5 1624
不知归路
不知归路 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:32

    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.

提交回复
热议问题