简体   繁体   中英

Trying to run a zend framework phpunit test in CLI, but can't change the include_path in php.ini file

In the command prompt I ran the command "php --ini" and its showing me that the file used is: C:\\wamp\\bin\\php\\php5.3.8\\php.ini

I then tried to change the include path directive by uncommenting it and making it: include_path = ".;C:\\wamp\\bin\\php\\php5.3.8\\pear;C:\\Users\\xxx\\My Documents\\Aptana Studio Workspace\\xxx\\library\\Zend;"

However, this does not change the include path and I have no idea why not.

Figured out what the issue is. I have PEAR installed, and I didn't realize that instead of editing the example include_path directive it actually adds its own entry to the very bottom of the INI file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM