Re: Zend Studio changing my include_path?
| From: | Justin Koivisto | Date: | Fri, 30 Sep 2005 18:24:29 +0000 |
| Subject: | Re: Zend Studio changing my include_path? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21176@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steve Harp wrote:
> Hi All,
>
> I've been having a very strange problem wihen debugging within Zend.
> I echo get_include_path() at the top of each php files. In a browser,
> the correct include_path is displayed as defined in my php.ini.
> However, when debugging in Zend Studio, the incliude path shows as
> ".;C:\php5\pear". There is no C:\php5 folder on my machine and my
> scripts are failing.
>
> Has anyone seen this? How do I make Zend respect the settings in the
> php.ini file?
It doesn't seem to be able to be configured...
I initially thought that you could make changes in the
lib/phpFunctions5.php and lib/phpFunctions4.php files in the ZDE install
directory, but that iddn't work for me...
For instance, in the phpFunctions5.php file, at the bottom you'll see:
define("FILE_USE_INCLUDE_PATH", 0);
and
define("DEFAULT_INCLUDE_PATH", 0);
and
define("PEAR_INSTALL_DIR", 0);
I tried changing each of those, and nothing seemed to make any
difference. I am pretty sure I had made a feature suggestion for
allowing the different php.ini settings be customizable, but haven't
heard (or seen) anything since I sent that. Maybe if more ppl request
it, it will be changed. It's a pain when I open a project that says it
can't find files from PEAR.
- --
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDPYLdm2SxQ7JEbpoRAi3xAJwKNVT/Th1JaniA9dVdEfrnWN0tRwCeMFE3
mwYLEeEYJ63pBerSGA4eEF4=
=/cUE
-----END PGP SIGNATURE-----