Yes, and you can see what the loaded file is from the output of phpinfo(). It's the "Loaded Configuration File" entry.
M On Sun, Aug 28, 2011 at 1:46 AM, Emmanuel Bouton [via Zend Framework Community] <[email protected]> wrote: > Hello, > > By default on debian, there are 2 php.ini ... one for apache > (/etc/php5/apache2/php.ini), and one for the command line interface > (/etc/php5/cli/php.ini). > I guess that you have set the include_path in the command line file only. > > Manu > > 2011/8/28 Xian Chen <[hidden email]>: >> hello, >> >> I use php 5.3.3 and latest Zend framework on debian 6. >> >> I update the include_path in php.ini to include the zend framework path >> "/usr/local/zend/library" >> >> If I just write a simple code test.php as follows: >> <?php >> echo get_include_path(); >> ?> >> >> and run php test.php, I can see the include_path is correctly set. >> >> But when I create a new zend project and it always say cannot find zend >> library error, and I do "echo get_include_path()" in the index.php of my >> zend project, I can ONLY see the default php include path. >> >> What's the problem here? >> >> Thanks, >> Xian >> > -- > List: [hidden email] > Info: http://framework.zend.com/archives > Unsubscribe: [hidden email] > > > > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://zend-framework-community.634137.n4.nabble.com/php-include-path-configuration-tp3773931p3774020.html > To start a new topic under Zend Framework, email > [email protected] > To unsubscribe from Zend Framework, click here. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/php-include-path-configuration-tp3773931p3774502.html Sent from the Zend Framework mailing list archive at Nabble.com.
