I Have a website which in development environment works with php 5.2.5 as webserver apache 2.2.3. It's a management information project. The whole site runs at the clients site with PHP 5.2.6 webservwer IIS (asp.dll has version number 6.0.3790.3959) on windows 2003 R2.
in the development environment the script runs as expected. but in the operational environment a certain script where i use a lot of arrays to create dynamic crosstabs I get an error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 11162 bytes)
The memory_limit setting in php.ini is currently set to 64M. I tried to raise the memory_limit setting in php.ini to 128M and even 1024M, but the error stays the same.
The error is reported on a line where i set an array value:
$recordset['total'][$colum
nid . '_perc']=sims_format_numbe
r(100*($va
lue/$totaa
l));
Start Free Trial