I’m on windows 7 with wamp and I don’t know where to put the zend framework, as I know I need to change the path of the include_path but I don’t know what should that be to work.
I get this error when I open the test files or anything withing the zend files:
Warning: require_once(PHPUnit/Framework.php)
[function.require-once]: failed to open stream: No such file or directory in
C:\wamp\www\zend\tests\TestHelper.php on line 26Fatal error: require_once() [function.require]: Failed opening
required ‘PHPUnit/Framework.php’ (include_path=’.;C:\php5\pear’) in
C:\wamp\www\zend\tests\TestHelper.php on line 26
You can place the zend framework directory anywhere you like, it doesn’t matter. Generally I place it in a common folder shared by all my projects.
As long as you add the path to the zend framework lib directory to your include path you are right. Anything outside the lib directory is for extra stuff and should not be included in your application – this seems to be where your problem lies.