Advertisement

09.04.2008 at 02:31AM PDT, ID: 23701935 | Points: 250
[x]
Attachment Details

PHP 5.2.6 / IIS / Allowed Memory Size error

Asked by Camarosa in Microsoft IIS Web Server, PHP Installation, PHP for Windows

Tags: , ,

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'][$columnid . '_perc']=sims_format_number(100*($value/$totaal));

Start Free Trial
[+][-]09.04.2008 at 02:33AM PDT, ID: 22385460

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.04.2008 at 02:42AM PDT, ID: 22385507

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.04.2008 at 03:19AM PDT, ID: 22385679

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.04.2008 at 04:39AM PDT, ID: 22386079

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.10.2008 at 12:09AM PDT, ID: 22684789

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628