Hi everyone. I have installed iis aid and joomla and it is working fine. When i go to upload a small fine to my photo gallery it works fantastic. I tried to upload a 3.5mb file and i keep getting this error.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 14848 bytes) in C:\Inetpub\mywebsite.com.au\administrator\components\com_morfeoshow\helpers\upload.php on line 433.
So i checked these settings in my php.ini file and changed them to a large value.
memory_limit =256M
post_max_size = 40M
upload_max_filesize = 10M
Then i restarted IIS.
But i still get the same error.
Can someone point me into the correct direction
Thanks for your time
Increasing the PHP memory limit as you've done is the correct way to address this issue, however if you've increased it to 256MB and you're still getting the same out of memory errors then I'd suspect something else here. Have you verified with the phpinfo() function that your modifications have taken place? Did you install using the ISAPI or FastCGI interface?
----------------
Dominic Ryan
5 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster
What are your max_execution_time and max_input_time directives set to?
----------------
Dominic Ryan
5 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit =20M
If you can, change your mapping to FastCGI. Also, can you PM me with a URL where I can view your phpinfo data?
----------------
Dominic Ryan
5 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster
have a try to change LocalSettings.php
# If PHP's memory limit is very low, some operations may fail.
ini_set( 'memory_limit', '32M' );
Location: Melbourne, Australia
Joined: Sep 2003