View Single Post
Old April 7th, 2007, 06:58 PM   #7 (permalink)
daily10
Member
Verified Customer
 
Join Date: Sep 2006
Posts: 52
I created a simple counter program to see what happens with an endless loop on my server

<?php
ignore_user_abort();
set_time_limit(20000);
$curr = time();
$max=ini_get('max_execution_time');
print"$max<br>";


$b=0;
while(1)
{
$a=time()-$curr;
if($a>$b)
{
print"$a<br>";
$b=$a;

}

}


?>


this just prints the number of seconds the program runs.
under php 4.3.11 i get to 22
under php 5 i get to 23

it just seems to time out.
don't get any errors.

if i place a sleep(1) inside the if(){ } block it makes it to somewhere in the 800's.

tech support says its not being caused by their apache server.

do you know if anyone is having problems moving large numbers of images into photopost from coppermine using your import program?
daily10 is offline   Reply With Quote