dream_high1026 2013-01-11 19:10
浏览 74
已采纳

在wordpress中上传图像的内存不足错误

I'm having some problems uploading images in WordPress.

The images them selves are around 1-2mb and width/height is quite big 1000px+ X 1000px+ but the client wants to be able to upload them and let WordPress do the re-sizing.

However when trying to upload I'm getting the following error:

"Fatal error: Out of memory (allocated 28573696) (tried to allocate 4096 bytes)"

Now I understand that this means the server doesn't have enough memory to process the image but when I do a phpinfo() check on the server it tells me that I have 256M of memory.

So why would I be getting a fatal error message saying I'm only allocated 32M?

The website itself is hosted by someone else so I don't have access to a php.ini or any of the error logs.

Thanks In advance,

Mark,

  • 写回答

3条回答 默认 最新

  • dpwu16132 2013-01-23 23:51
    关注

    Turned out to be an issue with the company hosting the site limiting the memory allocated. Moved to a new host and the problem was sorted.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?