From: RQuadling at GMail dot com Operating system: Windows XP SP2 PHP version: 5CVS-2006-11-10 (snap) PHP Bug Type: *Configuration Issues Bug description: php.ini sections are ignored
Description: ------------ My php-cli.ini file has, at the end ... [Zend] zend_optimizer.enable_loader=0 zend_optimizer.enable_slow=0 zend_optimizer.disable_licensing=1 zend_optimizer.optimization_level=-1 zend_optimizer.obfuscation_level_support=0 zend_extension_manager.optimizer_ts="C:\Program Files\Zend\ZendOptimizer-3.0.1\lib\Optimizer-3.0.1" zend_extension_manager.verbose=0 zend_extension_ts="C:\Program Files\Zend\ZendOptimizer-3.0.1\lib\ZendExtensionManager.dll" In trialling the new version of PHP (one which is NOT compatible with the Zend Optimizer), I tried commenting out [Zend]; e.g. ;[Zend] This works in normal INI files. It made no difference to PHP. The only way to remove the Zend Optimizer was to comment all the zend_ lines. e.g. [Zend] ;zend_optimizer.enable_loader=0 ;zend_optimizer.enable_slow=0 ;zend_optimizer.disable_licensing=1 ;zend_optimizer.optimization_level=-1 ;zend_optimizer.obfuscation_level_support=0 ;zend_extension_manager.optimizer_ts="C:\Program Files\Zend\ZendOptimizer-3.0.1\lib\Optimizer-3.0.1" ;zend_extension_manager.verbose=0 ;zend_extension_ts="C:\Program Files\Zend\ZendOptimizer-3.0.1\lib\ZendExtensionManager.dll" It calls itself an INI file. I would expect it to behave like one. -- Edit bug report at http://bugs.php.net/?id=39463&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39463&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39463&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39463&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39463&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39463&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39463&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39463&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39463&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39463&r=support Expected behavior: http://bugs.php.net/fix.php?id=39463&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39463&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39463&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39463&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39463&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39463&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39463&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39463&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39463&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39463&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39463&r=mysqlcfg