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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC