[bug-notifications] [php5 0004167]: incorrect extension directory in php.ini

Mantis Bug Tracker noreply at opencsw.org
Wed Jun 29 03:42:18 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4167 
====================================================================== 
Reported By:                pfelecan
Assigned To:                bwalton
====================================================================== 
Project:                    php5
Issue ID:                   4167
Category:                   packaging
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2010-01-18 14:07 CET
Last Modified:              2011-06-29 03:42 CEST
====================================================================== 
Summary:                    incorrect extension directory in php.ini
Description: 
The /opt/csw/php5/lib/php.ini contains an incorrect extension_dir variable
value. According to the php5 related modules, the extensions directory is
/opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613/. instead of
/opt/csw/php5/lib/php/extensions/.

The workaround is to modify the file to reflect the correct value.

To check that there is an issue with this variable look at the
/opt/csw/apache2/var/log/error_log which will contain lines of the form:
PHP Warning:  PHP Startup: Unable to load dynamic library
'/opt/csw/php5/lib/php/extensions/./session.so' - ld.so.1: httpd: fatal:
/opt/csw/php5/lib/php/extensions/./session.so: open failed: No such file or
directory in Unknown on line 0

====================================================================== 

---------------------------------------------------------------------- 
 (0009153) bwalton (developer) - 2011-06-29 03:42
 https://www.opencsw.org/mantis/view.php?id=4167#c9153 
---------------------------------------------------------------------- 
Hi Peter,

The default config in the new php doesn't set this, so it should be sane. 
The update script 'corrects' the broken value with the new broken value,
which seems to work on my systems.  If you could test the updates from the
experimental repo that would help.

Thanks
-Ben



More information about the bug-notifications mailing list