I do the majority of my site development on a combination of Athlon 800
w/Win2k for graphics, and a P-133 w/16 megs of RAM running Slackware
Linux (gulp!)...

The Linux box performance with PHP is actually decent-- EXCEPT when
doing database queries locally.  I tried running queries on Mysql
locally (on the P-133 linux box) and it was SLOW as heck.  So, I simply
installed Mysql for Win32 on my Win2k machine, and now pages (even with
database queries) run at a tolerable speed.

So, based on my experience, the database (isn't ODBC much slower than
using the mysql lib on top of that?) is the biggest bottleneck for an
underpowered machine.

Hope this helps.


-----Original Message-----
From: mati [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, July 01, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Why does it take so long?


I use PHP 4 + Apache + Win95 + MS Access (ODBC), and my scripts generate

very long (10-15s with 15 records from DB - on localhost).

Why is it so? I have slow computer (166MHz, 32MB RAM), is it the main 
problem? Or is there also a problem with ODBC (Access) or Win? Which is
the 
main reason?
Thanks.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to