Re: what is wrong with php?
| From: | Steve Buehler | Date: | Mon, 17 Jun 2002 01:09:03 +0000 |
| Subject: | Re: what is wrong with php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102444@lists.php.net to get a copy of this message | ||
Are you running on Windows? Windows, in my opinion, is slower than on unix. I run Apache/MySQL/PHP on my WindowsXP 1ghz 256meg Toshiba laptop and when accessing my scripts I use http://localhost. The scripts can take more than 10 times longer when accessing the MySQL database. This is not to say that everybodies scripts would be this slow on a windows machine. But windows does have more overhead.
Steve
At 08:07 AM 6/16/2002 -0700, you wrote:
Hi all, I find php slow when accessing mysql. When I do $sql='select count(*) from table'; $result = mysql_query($sql); It takes 10 sec to return. Is this normal speed for php or my Mandrake Linux configuration problem? The same query run in mysql> return instantly. Thanks _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual)http://lists.mysql.com/ (the list archive)To request this thread, e-mail <mysql-thread112111@lists.mysql.com> To unsubscribe, e-mail <mysql-unsubscribe-steve=vespro.com@lists.mysql.com> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ow3