Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

imagecopyresampled error

Status
Not open for further replies.

kennygadams

Programmer
Jan 2, 2005
94
US
I'm getting the error below when using imagecopyresampled:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3504 bytes)

I updated the memory_limit from 8m to 150M in the php.ini file and then rebooted the linux server through putty.

phpinfo() shows that the memory_limit is set to 8m. So I downloaded the php.ini file to double check the memory_limit setting and it is set to 150m.

Do any of you see what I am doing wrong?

kennygadams
 
you may have more than one php.ini file lurking on your system. check which one is actually being used by looking at phpinfo().
 
I did a find(ctrl+f) search for "php.ini" on the phpinfo() results and there appears to be only 1 php.ini file in use.

Kenny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top