Package: php-common Version: 5.3.2-2 Debian uses /etc/php5/cgi/conf.d for loading PHP extensions and Zend extension through ini files. If someone uses PHPs ini sections (see http://www.php.net/ini.sections) inside an own ini file in /etc/php5/cgi/conf.d or in /etc/php5/cgi/php.ini this will prevent the extensions from loading.
The PHP manual says: "These sections are used only in CGI/FastCGI mode and they can not set extension and zend_extension directives." So extension= and zend_extension= needs to be under [PHP]. Steps to Reproduce: 1. Use PHP over Apache/Lighttpd as CGI 2. Add [PATH=] or [HOST=] to /etc/php5/cgi/php.ini (or an own file at /etc/php5/cgi/conf.d) 3. See phpinfo() for loaded extensions 4. extensions loaded at /etc/php5/cgi/conf.d won't be loaded Actual results: For example the widely used pdo extension (/etc/php5/cgi/conf.d/pdo.ini): ; configuration for php PDO module extension=pdo.so Expected results: [PHP] ; configuration for php PDO module extension=pdo.so Additional info: http://www.php.net/manual/en/ini.sections.php#99780, https://bugzilla.redhat.com/show_bug.cgi?id=630635 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

