Laravel Intervention Image GD library extension

后端 未结 5 775
情深已故
情深已故 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:26

    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

提交回复
热议问题