ID:               27110
 Updated by:       [EMAIL PROTECTED]
 Reported By:      walter at brunner dot at
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: Linux (Gentoo)
 PHP Version:      4CVS-2004-02-01
 Assigned To:      iliaa
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Unable to replicate with latest CVS. 


Previous Comments:
------------------------------------------------------------------------

[2004-02-01 15:48:14] walter at brunner dot at

I did additional experiments. The error occurs only in one specific
virtual host. I am not able to reproduce the error within the same
server (other virtual hosts) or on another server. The only difference
between the vhost with error and the others is, that this vhost hast a
designated ip-address, the other vhost share all the same ip address.

The other parameters in the apache-config for the faulty vhost are:
<VirtualHost 1.2.3.4:80>
DocumentRoot /some/dir/web
ServerName server.name.com
ErrorLog /some/dir/logs/error_log
CustomLog /some/dir/logs/access_log extended
php_admin_value upload_tmp_dir "/some/dir/web/tmp"
php_value session.save_path /some/dir/tmp
php_admin_flag safe_mode off
<Directory "/some/dir/web">
AllowOverride All
</Directory>
<Directory "/some/dir/web/admin">
php_admin_value max_execution_time 1800
AllowOverride All
</Directory>
</VirtualHost>

The .htaccess of the /-directory:
php_value include_path ".:/usr/local/lib/php:/some/dir/web/php"

------------------------------------------------------------------------

[2004-02-01 05:48:20] [EMAIL PROTECTED]

Please read the bug #25753 comments. You have to come up with better
information how we can reproduce this ourselves..


------------------------------------------------------------------------

[2004-02-01 01:56:48] walter at brunner dot at

The problem is still alive with php4-STABLE-200402010630.

The solution for me was to transfer the include_path to apache-config,
but this solution is is not suitable for standard users, as they don't
have access to this config-file.

------------------------------------------------------------------------

[2004-01-31 15:21:34] walter at brunner dot at

Description:
------------
The bug described with http://bugs.php.net/bug.php?id=25753 (closed) is
still active in the following configuration:

Apache 2.0.48 / PHP Version 4.3.5RC2-dev (from 2004-01-31)

php.ini: include_path not set
apache-virtual host-section: include_path not set

.htaccess of /-directory: include_path set to some value

no .htaccess in /admin-directory.

if I look at the value of include_path in the /admin-directory with the
function ini_get sometimes (~5%) it is set to the default value
(.:/usr/local/lib/php), sometimes (~70%) to the correct value,
sometimes to absolut nonsense (~25%).

The only solution to the problem seems to set in the apache-config:
MaxRequestsPerChild  1

This value is not really what I want, as there is allways a new process
for every request.




------------------------------------------------------------------------


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

Reply via email to