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 theGreatGnu on 10/06/46 11:52

Alvaro G. Vicario skrev:

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

Thank for your help. Unfortunately this did not fix the problem. I have
added the above lines to the httpd.conf file, i have inactivated both
firewall and anti virus, all in various combinations. Not sure what to
do with the proxy server. Don't think I am using one, but I could be
mistaken.

Opera and IE behaves somewhat differently. With Opera, the "abc" will
be displayed when I press "stop" in the browser. For IE, "abc" will
never be displayed. The page will just not load.

All this happens whenver I connect to mysql. Regular html or php pages
will load happily.

-Anders Bondensson

 

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

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