php, apache, and firefox

Flint67

New Member
I hope this is in the right place. If not please move it.

I have writtin some code that i need to test which takes a mathimatical expression and runs every number between -1,000,000 and 1,000,000 through the expression. My problem is that the browser displays down to -800,000 then quits. I modified apaches config file to allow more time before timeout, i also modified firefox to do the same. What am i missing?
 
try adding
PHP:
<?php
ini_set('max_execution_time', 0);
?>
to the top of the PHP file, as by default PHP limit's itself to just 30 seconds of processing, which is more likely to be your problem over apache + FF

Lee :)
 
Thanks, lee. Does that override the max execution in the ini file? I'm guessing it does since it is under the function ini set, but it is only for that script right?
 
Last edited:
For some reason that didn't change anything, so i just modified the ini file and made the value a 1 and a bunch of zeros. It seems to work
 
Back
Top