简体   繁体   English

Drupal 7图片样式错误,PHP最大上传大小

[英]drupal 7 image style error with php max upload size

There is issue while uploading image more 5M with high quality , Image style can not create image or something else (i have no idea what is happening with it) . 上载更多高质量的5M图像时出现问题,图像样式无法创建图像或其他东西(我不知道它正在发生什么)。

2015/08/11 11:43:51 [error] 17642#0: *1513886 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 15360 bytes) in /system/image.gd.inc on line 232" while reading response header from upstream, client: "server ip adress", server: hostname.domain, request: "GET 044a8109_fu_ben_.jpg?itok=u19u-70Y HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web156.sock:", host: "hostname.domain", referrer: "domain/product/379"

In server max upload size : 128M , for image field max upload size is 50M, But not showing uploaded images. 在服务器最大上传大小:128M中,对于图像字段,最大上传大小为50M,但不显示上传的图像。

In Chrome browser console so error shows: 在Chrome浏览器控制台中,因此错误显示:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/default/files/styles/thumbnail/public/25531... Failed to load resource: the server responded with a status of 500 (Internal Server Error).

Second image is after creating content . 第二个图像是在创建内容之后。

You have exceded you memory_limit . 您已经超过了memory_limit Check php.ini file for you memory_limit and upadate as necessary. 检查php.ini文件是否具有memory_limit并根据需要更新。

This may help. 这可能会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM