|
Posted by Alvaro G. Vicario on 07/08/06 11:10
*** theGreatGnu@my-deja.com escribió/wrote (8 Jul 2006 03:22:00 -0700):
> However, I'm stuck on an irritating problem. Whenever I connect to
> mysql, my PHP pages don't want to finish loading. In the following
> example, the page will not finish loading nor display "abc" until I
> interupt by pressing "Stop" in the web browser".
>
> <?php
> echo 'a';
> $link = mysql_connect('localhost', 'user', 'pwd');
> echo 'b';
> mysql_close($link);
> echo 'c';
> ?>
Your code looks flawless to me. I'd say the problem could be in third-party
software, such as:
- Antivirus
- Firewall
- Proxy
....
If you are using Windows, there's an Apache directive you can try (add it
to httpd.conf file):
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx
This seems to fix some Windows specific problems. If it works for you
please let me know.
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
[Back to original message]
|