RE: [PHP] php/apache timeout
| From: | M.A.Bond | Date: | Tue, 11 Mar 2003 12:12:45 +0000 |
| Subject: | RE: [PHP] php/apache timeout | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139120@lists.php.net to get a copy of this message | ||
HI,
Yes I was having this problem, it's probably not php timing out, but your
browser. To stop this move the execution of your sql. I assume you do
something like this:
<?php
$sql = "insert.......";
Execute SQL;
?>
<HTML>
...
...
</HTML>
You need to move this as follows:
<HTML>
<HEAD>
</HEAD>
<BODY>
<?php
$sql = "insert......";
Execute SQL;
?>
Html code
</Body>
</HTML>
This starts sending the page to the browser, before running the sql, so the
browser doesn't time out whilst waiting to download a page.
Thanks
Mark
-----Original Message-----
From: Hilmi Hilmiev [mailto:hilmi@wizzbit.nl]
Sent: 11 March 2003 17:41
To: php-general@lists.php.net
Subject: [PHP] php/apache timeout
Hi,
We are using Apache/PHP and using ORACLE as the database. When I submit
the page with hugs database when the server side script (PHP) running I
am getting an error "Page not found". But on the background it is adding
records to the database. Though I modified all the configuration in
php.ini file max_script_execution , sesssion_gc_maxsize .....etc and
http.conf file TimeOut, KeepAliveTime paramets. How to stop this error??
do I need to sent any other parameters either in php.ini or in http.conf
file.
Thanx in Advance
MrE
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php