1 添加安裝jpeg擴展
a) 安裝成功之後在php.ini中加入extension=gd.so
2. 重新編譯php
a) 在./configure 編譯php的時候加上–with-jpeg-dir
***
一定要注意,先執行make clean,在執行make&& make install
b) 因爲在二次編譯php的時候,會有之前編譯的緩存
c) 安裝成功之後重啓php-fpm即可
1 添加安裝jpeg擴展
a) 安裝成功之後在php.ini中加入extension=gd.so
2. 重新編譯php
a) 在./configure 編譯php的時候加上–with-jpeg-dir
***
b) 因爲在二次編譯php的時候,會有之前編譯的緩存
c) 安裝成功之後重啓php-fpm即可