經過yum安裝的nginx 加載p_w_picpath_filter方式方法:nginx
yum 安裝nginx p_w_picpath是沒有安裝的須要後安裝 p_w_picpath須要的依賴包是 gd-devel libgd gcc libgdide
安裝 nginx-module-p_w_picpath-filter it
在 nginx.conf 中最上方寫入class
load_module modules/ngx_http_p_w_picpath_filter_module.so;module
…gcc
重啓就能夠了 配置
p_w_picpath的配置網上是能夠搜到的,就很少說了gc