ZF-9806: Config.php generates wrong php.includepath entry in .zf.ini

Issue Type: Bug Created: 2010-05-05T06:49:15.000+0000 Last Updated: 2010-10-28T23:20:46.000+0000 Status: Resolved Fix version(s): - 1.11.0 (02/Nov/10)

Reporter: Anton (antonxx) Assignee: Ralph Schindler (ralph) Tags: - Zend_Tool

Related issues: - ZF-9769




Generates a .zf.ini with wrong entry:


it should be :Bugfix: php.include_path

Howto fix:

goto line 88:

<pre class="highlight">
 $config = array(
            'php' => array(
                'includepath' => get_include_path(),

and change 'includepath' -> 'include_path'


Posted by Konr Ness (konrness) on 2010-07-26T11:39:25.000+0000

Confirmed this is still a problem in at revision 22686.

/Zend/Tool/Framework/System/Provider/Config.php sets the include path config key to "includepath".

/bin/zf.php (line 518) writes it as: php.include_path

/bin/zf.php (line 322) is calling ini_set on all config options in the php key, and the proper way to set the include path via ini_set is: ini_set('include_path', $path);

Posted by Ralph Schindler (ralph) on 2010-10-21T08:50:07.000+0000

Fixed in r23205 in trunk and r23206 in release branch 1.11

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.