You are here: Re: [PHP] PHP 4.4.1 on Apache 2.0.x issue « PHP « IT news, forums, messages
Re: [PHP] PHP 4.4.1 on Apache 2.0.x issue

Posted by "Richard Lynch" on 10/19/12 11:31

It SOUNDS like you have func.php including something that includes
func.php...


On Fri, November 4, 2005 5:16 am, Max Belushkin wrote:
> Hi list,
>
> after upgrading to PHP 4.4.1, I'm having the following problem:
> Apache is
> running in prefork mode. index.php includes func.php, which defines
> some
> functions and connects to MySQL. For a while (1-2 requests) everything
> runs
> ok, except mysql sockets keep stacking up. And then - wham, suddenly,
> I'm
> getting errors:
> Cannot redeclare mquery() (previously declared in
> /home/test/func.php:9)
> in /home/test/func.php on line 9
>
> If I wait a few seconds, it "works" for a couple of requests again.
> And then
> the error is back.
>
> What on EARTH is happening? My wild guess is, somehow the memory
> gets
> shared, and the previous script is still loaded into a thread when the
> new
> one is called, but how can this be happening?
>
> I would greatly appreciate any advice...
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Like Music?
http://l-i-e.com/artists.htm

 

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

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