Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-21 Thread Marcus Bointon
On 20 Nov 2005, at 15:14, Geert Booster wrote: PHP 4.4.0, since PHP developers seem not interested in fixing the bug with apache2 and mod_rewrite I think you might find this bug report of interest, especially since it's been fixed: http://bugs.php.net/bug.php?id=35059 It's certainly fi

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-20 Thread Geert Booster
On Thu, Nov 17, 2005 at 09:34:08PM +0100, Max Belushkin wrote: > Does anyone have any information/updates on this issue perhaps? The thread > on http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027056.html > hasn't had anything new (since Nov 6), and on > http://bugs.php.net/bug.

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-17 Thread Max Belushkin
Hi list, Does anyone have any information/updates on this issue perhaps? The thread on http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027056.html hasn't had anything new (since Nov 6), and on http://bugs.php.net/bug.php?id=35059 it's been stated as "fixed" ever since (Nov

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-09 Thread Max Belushkin
> Maybe the following [1] thread on the FreeBSD ports lists does help you. > I (and the other sysops/users of this machine) are waiting for a patch > for this problem > You're not the only one :-) > [1] > http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027038.html Oh, thanks a lot!

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-08 Thread Richard Lynch
On Sat, November 5, 2005 12:22 pm, Max Belushkin wrote: > On Saturday 05 November 2005 17:49, James Benson wrote: >> > I've had a different set of scripts employing a different >> "func.php". >> > However, in both of those, mquery() is defined. But >> > they do *not* include anything else, and the

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-08 Thread Geert Booster
On 2005-11-05, Max Belushkin <[EMAIL PROTECTED]> wrote: > How can this be happening? I do not know, but since a downgrade to 4.4.0 > fixed it all back proper, I am seriously beginning to suspect a problem or > undocumented (widely documented, at least) change in PHP 4.4.1 on FreeBSD > ports.

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread Max Belushkin
> I cant see this being an issue with PHP because it would do that for > every function, have you tried using a different function, something > simple say, I've been trying it in various ways - for the simplest functions, it takes hundreds of request to appear, for the more involved things whic

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread James Benson
I cant see this being an issue with PHP because it would do that for every function, have you tried using a different function, something simple say, function echo_this($param) { echo "$param"; } Try that like your mquery function in both files and see what happens, could be your s

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread Max Belushkin
> It would also be helpful to see the mquery() script - maybe someone else > may know more then! Well, mquery is simply "mysql_query($query);", in the stipped-down version I've had to resort to for testing. Basically, does nothing, since even mysql_connect that USED to be at the start of func.

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread James Benson
Ok fair enough, I see your problem now, cant say ive had this and been using 4.4.1 since the day it came out (compiled my own on debian though), maybe you should try calling that function from the second file but without actually defining the function for that file to see whether you can access

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread Max Belushkin
On Saturday 05 November 2005 17:49, James Benson wrote: > > I've had a different set of scripts employing a different "func.php". > > However, in both of those, mquery() is defined. But > > they do *not* include anything else, and the > So you defined mquery() in both files and one include's or re

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread James Benson
Max Belushkin wrote: Try using require_once or include_once Well, here's all the fun starting. This is relatively long, but please bear with me. First of all, yes, I did include_once, require_once, even resorted to "if (! $inc_done) include_once("func.php")", and setting $inc_done in func.p

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread Max Belushkin
> Try using require_once or include_once Well, here's all the fun starting. This is relatively long, but please bear with me. First of all, yes, I did include_once, require_once, even resorted to "if (! $inc_done) include_once("func.php")", and setting $inc_done in func.php. No-go, was still gett

[PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread James Benson
Try using require_once or include_once 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