> seems to create a temporary php.ini file in the /tmp folder every time PHPUnit
> runs (I'm using the PHPUnit that comes with Zend Studio, I have not made a
Some things to note here:
* To avoid any confusion about which php to use, I always add the php
executable I am using on my command line to Zend Studio, you can do this via
Zend Studio > Preferences > PHP > PHP Executables. (This executable will
need to be setup with Zend Debugger)
* Once that is done, the php.ini your Studio will be using in any debug
session will be the same one that the PHP Executable running will use. For
example, I have my /usr/bin/php which uses /etc/php-cli.ini, this file is
used on every debug session (copied to /tmp and prepended with Zend Studio
specific values).
Those two notes aught to get you going. While the php executable and ini
supplied with Zend Studio is good, its better have more control over the
environment.. And generally speaking, the best thing to do is manage it
yourself so that your CLI and Apache PHP environments are a close as
possible.
Hope this helps,
Ralph
--
Ralph Schindler
Software Engineer | ralph.schindler@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论