Often PHP processes take a long time, such as wildcard searching a PostgreSQL database, or generating thumbnails.
The PHP host page does not display until the script is complete, so you can not effectively use code such as
echo "Converting file ".$Infile;
exec(convert $Infile $O8utfile);
for realtime feedback to the user.