so set it higher, 64M
Have you confirmed that the php.ini is actually being read and the changes applied? create a phpinfo file, open it in a browser and check, if youre doubting.
according to my phpinfo file
memory_limit = 40M
upload_max_filesize = 20M
any other ideas.
http://vasthtml.com/wallpapers/phpinfo.php
Hi
I have the same fatal error message… in image.php on line 147:
$image = imagecreatefromstring( file_get_contents( $file ) );
The line right above that I changed to a higher memory as well: @ini_set(‘memory_limit’, ‘100M’);
The file I’m uploading is a jpeg file 5,228 KB in size.
When I go back to the Media gallery, I can view the image fine but I am wondering why that fatal error message comes up? Is this something that I resolve?
Here is my phpinfo values…
upload_max_filesize = 50M
post_max_size = 50M
memory_limit = 100M
realpath_cache_size = 32k
Thanks for any ideas you might have
Mandy :-{
I meant to say, is this something that can be resolved?
Sorry for the typo
I’m having this exact same problem right now.
Setting it higher will only temporarily solve the problem, but you will run out of memory when you continue to upload images to the image.php file. The only work around is to create a way to use multiple image.php files, and as they fill up, wordpress automatically moves onto the next one.