|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-09-02 13:00 UTC] olivier dot berger at it-sudparis dot eu
Description:
------------
If include_path wasn't set already, setting it to some concatenation of ${include_path} causes a segfault.
Seems different from #37002, AFAICT
More details in Debian bug : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497453
Reproduce code:
---------------
For instance, if /etc/php5/apache2/php.ini doesn't contain any include_path definition, like is by default in Debian :
; UNIX: "/path1:/path2"
;include_path = ".:/usr/share/php"
then setting the following in for instance /etc/php5/conf.d/zend.ini :
[Zend]
include_path = ${include_path} ":/usr/share/php/libzend-framework-php"
leads to segmentation fault.
Expected result:
----------------
I guess referencing variables no yet explicitely set, but having default values should return their default value.
Uncommenting the default include_path in /etc/php5/apache2/php.ini allows it to work.
Actual result:
--------------
Apache segmentation fault
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 18:00:01 2025 UTC |
Noticed this bug on my system (PHP-5.2.10/Linux), seems only to exist in apaches mod_php. Having include_path = ${include_path} ":/usr/share/php/libzend-framework-php" in zend.ini but no setting in php.ini causes apache not to start at all. This does not seem to affect php-cli.