Mantis - php5
Viewing Issue Advanced Details
4167 packaging crash always 2010-01-18 14:07 2011-10-23 04:56
pfelecan  
bwalton  
normal  
closed  
fixed  
none    
none  
0004167: incorrect extension directory in php.ini
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
Issue History
2010-01-18 14:07 pfelecan New Issue
2011-06-29 03:41 bwalton Status new => assigned
2011-06-29 03:41 bwalton Assigned To => bwalton
2011-06-29 03:42 bwalton Note Added: 0009153
2011-10-23 04:56 bwalton Note Added: 0009360
2011-10-23 04:56 bwalton Status assigned => closed
2011-10-23 04:56 bwalton Resolution open => fixed

Notes
(0009153)
bwalton   
2011-06-29 03:42   
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
(0009360)
bwalton   
2011-10-23 04:56   
This issue should be fixed with the 5.3.8 release to unstable/dublin.

-Ben