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 <[email protected]>: > 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: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
