You are here: Re: mysql apache - page never finish loading « PHP Programming Language « IT news, forums, messages
Re: mysql apache - page never finish loading

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
--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация