php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39463 php.ini sections are ignored
Submitted: 2006-11-10 14:28 UTC Modified: 2006-11-10 14:35 UTC
From: RQuadling at GMail dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5CVS-2006-11-10 (snap) OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: RQuadling at GMail dot com
New email:
PHP Version: OS:

 

 [2006-11-10 14:28 UTC] RQuadling at GMail dot com
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.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-10 14:35 UTC] tony2001@php.net
It was never supposed to work this way.
And btw, there is no need to comment all the lines, just comment zend_extension_ts and it won't be loaded anymore.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 15 21:05:49 2022 UTC