#35500 [Opn->Fbk]: auto_prepend_file seems to fail randomly

2005-12-02 Thread sniper
 ID:   35500
 Updated by:   [EMAIL PROTECTED]
 Reported By:  bugnet at gartenfreunde dot eu dot org
-Status:   Open
+Status:   Feedback
-Bug Type: Unknown/Other Function
+Bug Type: *General Issues
 Operating System: Linux 2.6.13-gentoo-r5 SMP AMD64
 PHP Version:  5.1.1
 New Comment:

Can your reproduce this problem when using the prefork MPM ?
(threaded MPMs are not really supported by PHP)



Previous Comments:


[2005-12-02 10:15:10] bugnet at gartenfreunde dot eu dot org

problem is still there with 5.1.1



[2005-12-01 14:20:33] bugnet at gartenfreunde dot eu dot org

I can't use source tarballs. I installed PHP 5.1.1 from
http://svn.gnqs.org/projects/gentoo-php-overlay/wiki
I'll report back if the problem still occurs.



[2005-12-01 12:35:41] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip





[2005-12-01 12:30:32] bugnet at gartenfreunde dot eu dot org

Description:

I'm using PHP Version 5.0.5-pl3-gentoo (no way to upgrade to 5.1.1) and
Apache 2.0.54 with mpm_worker.
Approx. 10 times a day I get an errormessage like the following, the
rest of the time (5+ requests) everything works fine:

[Thu Dec 01 11:17:18 2005] [error] [client x.x.x.x] PHP Warning: 
main() [function.include]: Failed
opening 'lib_tools.php' for inclusion
(include_path='/var/www/includes') in /var/www/htdocs/index.php on line
22, referer: http://xxx

[Thu Dec 01 11:17:18 2005] [error] [client x.x.x.x] PHP 
Warning:  main() [function.include]:
Failed opening 'lib_session.php' for inclusion
(include_path='/var/www/includes') in /var/www/htdocs/index.php on line
25, referer: http://xxx

index.php looks like this:
<-snip->
include_once ($lib_dir.'lib_tools.php');
include_once ($lib_dir.'lib_session.php');
<-snip->

$lib_dir is set in prepend.php, httpd.conf reads:
php_value auto_prepend_file /var/www/prepend.php

When the error occurs $lib_dir is empty, so it looks like the prepend
file doesn't get prepended under some conditions. I'm not sure if this
is an PHP or an Apache issue, on our old system running PHP4 and Apache
1.x the problem didn't occur.



Reproduce code:
---
occurs randomly approx 10 times a day, regardsless of systemload etc.

Expected result:

a file listed in auto_prepend_file should always be prepended






-- 
Edit this bug report at http://bugs.php.net/?id=35500&edit=1



#35500 [Opn->Fbk]: auto_prepend_file seems to fail randomly

2005-12-01 Thread tony2001
 ID:   35500
 Updated by:   [EMAIL PROTECTED]
 Reported By:  bugnet at gartenfreunde dot eu dot org
-Status:   Open
+Status:   Feedback
 Bug Type: Unknown/Other Function
 Operating System: Linux 2.6.13-gentoo-r5 SMP AMD64
 PHP Version:  5.1.1


Previous Comments:


[2005-12-01 14:20:33] bugnet at gartenfreunde dot eu dot org

I can't use source tarballs. I installed PHP 5.1.1 from
http://svn.gnqs.org/projects/gentoo-php-overlay/wiki
I'll report back if the problem still occurs.



[2005-12-01 12:35:41] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip





[2005-12-01 12:30:32] bugnet at gartenfreunde dot eu dot org

Description:

I'm using PHP Version 5.0.5-pl3-gentoo (no way to upgrade to 5.1.1) and
Apache 2.0.54 with mpm_worker.
Approx. 10 times a day I get an errormessage like the following, the
rest of the time (5+ requests) everything works fine:

[Thu Dec 01 11:17:18 2005] [error] [client x.x.x.x] PHP Warning: 
main() [function.include]: Failed
opening 'lib_tools.php' for inclusion
(include_path='/var/www/includes') in /var/www/htdocs/index.php on line
22, referer: http://xxx

[Thu Dec 01 11:17:18 2005] [error] [client x.x.x.x] PHP 
Warning:  main() [function.include]:
Failed opening 'lib_session.php' for inclusion
(include_path='/var/www/includes') in /var/www/htdocs/index.php on line
25, referer: http://xxx

index.php looks like this:
<-snip->
include_once ($lib_dir.'lib_tools.php');
include_once ($lib_dir.'lib_session.php');
<-snip->

$lib_dir is set in prepend.php, httpd.conf reads:
php_value auto_prepend_file /var/www/prepend.php

When the error occurs $lib_dir is empty, so it looks like the prepend
file doesn't get prepended under some conditions. I'm not sure if this
is an PHP or an Apache issue, on our old system running PHP4 and Apache
1.x the problem didn't occur.



Reproduce code:
---
occurs randomly approx 10 times a day, regardsless of systemload etc.

Expected result:

a file listed in auto_prepend_file should always be prepended






-- 
Edit this bug report at http://bugs.php.net/?id=35500&edit=1


#35500 [Opn->Fbk]: auto_prepend_file seems to fail randomly

2005-12-01 Thread tony2001
 ID:   35500
 Updated by:   [EMAIL PROTECTED]
 Reported By:  bugnet at gartenfreunde dot eu dot org
-Status:   Open
+Status:   Feedback
 Bug Type: Unknown/Other Function
 Operating System: Linux 2.6.13-gentoo-r5 SMP AMD64
 PHP Version:  5.1.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip




Previous Comments:


[2005-12-01 12:30:32] bugnet at gartenfreunde dot eu dot org

Description:

I'm using PHP Version 5.0.5-pl3-gentoo (no way to upgrade to 5.1.1) and
Apache 2.0.54 with mpm_worker.
Approx. 10 times a day I get an errormessage like the following, the
rest of the time (5+ requests) everything works fine:

[Thu Dec 01 11:17:18 2005] [error] [client x.x.x.x] PHP Warning: 
main() [function.include]: Failed
opening 'lib_tools.php' for inclusion
(include_path='/var/www/includes') in /var/www/htdocs/index.php on line
22, referer: http://xxx

[Thu Dec 01 11:17:18 2005] [error] [client x.x.x.x] PHP 
Warning:  main() [function.include]:
Failed opening 'lib_session.php' for inclusion
(include_path='/var/www/includes') in /var/www/htdocs/index.php on line
25, referer: http://xxx

index.php looks like this:
<-snip->
include_once ($lib_dir.'lib_tools.php');
include_once ($lib_dir.'lib_session.php');
<-snip->

$lib_dir is set in prepend.php, httpd.conf reads:
php_value auto_prepend_file /var/www/prepend.php

When the error occurs $lib_dir is empty, so it looks like the prepend
file doesn't get prepended under some conditions. I'm not sure if this
is an PHP or an Apache issue, on our old system running PHP4 and Apache
1.x the problem didn't occur.



Reproduce code:
---
occurs randomly approx 10 times a day, regardsless of systemload etc.

Expected result:

a file listed in auto_prepend_file should always be prepended






-- 
Edit this bug report at http://bugs.php.net/?id=35500&edit=1