PHP execute very slow : PHP Version 5.2.6
| From: | Kristijan Marin | Date: | Sun, 11 Apr 2010 01:07:00 +0000 |
| Subject: | PHP execute very slow : PHP Version 5.2.6 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-303975@lists.php.net to get a copy of this message | ||
Hi,
I'm experiencing very slow performance of my php scripts ... At first and
for a long time I thought it was Oracle
fault cause I didn't use binding (I rewrote the code ), but the performance
is still bad.
So I tested my sql statement and did some time measurement and found out
that Oracle can fetch 300 records in less
then 2 seconds, but PHP needs 210seconds ... to display it to the user ....
I'm using default php.ini
I have a horizontal menu with buttons to switch pages ..... and just
switching pages takes time with minimum or no oracle interactions.
My php version: 5.2.6
OS: Windows XP sP3 and Windows Server 2008
Testing it in PHPEd using internal PHPEd server and FastCGI ... and also on
Windows 2008 server in IIS ...same results .... both using the same
php.ini....
Would anyone know what could be the cause of this ?
Any hit is appreciated.
Kris