php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58725 Configuration directives
Submitted: 2009-06-16 16:45 UTC Modified: 2009-06-16 19:33 UTC
From: hdev at gmail dot com Assigned:
Status: Not a bug Package: inclued (PECL)
PHP Version: 5.2.6 OS: Linux/Debian 5.0.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
44 + 10 = ?
Subscribe to this entry?

 
 [2009-06-16 16:45 UTC] hdev at gmail dot com
Description:
------------
inclued directives (inclued.enabled, inclued.dumpdir) cant be set in user scripts, htaccess or apache conf files

Reproduce code:
---------------
/etc/php5/apache2/php.ini

extension=inclued.so
inclued.enabled=1
inclued.dumpdir=/tmp

=> WORK


/etc/apache2/sites-available/incluedtest.dev.ap2
php_flag inclued.enabled on
php_value inclued.dumpdir /tmp

=> DONT WORK


.htaccess
php_flag inclued.enabled on
php_value inclued.dumpdir /tmp

=> DONT WORK


php script
ini_set('inclued.enabled', 1);
ini_set('inclued.dumpdir', '/tmp');

=> DONT WORK

Expected result:
----------------
I would have : 
inclued.dumpdir    /tmp        no value
inclued.enabled	   On	       Off

Actual result:
--------------
My phpinfo return : 
inclued.dumpdir    no value    no value
inclued.enabled	   Off	       Off

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-16 19:33 UTC] hdev at gmail dot com
Not a bug, the two directives are PHP_INI_SYSTEM.

The documentation (http://www.php.net/manual/fr/inclued.configuration.php) would be improved :

PHP_INI_* -> PHP_INI_SYSTEM
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC