frankdi Posted November 7, 2011 Report Share Posted November 7, 2011 I created a folder called c:\vhost and in that folder I use the command zf create project study. The results of that command tells me it doesn't find PHPUnit. Below are all of the items that I can think of to show you. I cannot find the include_path location that is outputted from the comman php -i|findstr include_file as shown below. Can you help me with this please? What I am trying to do is set up PHPUnit to run with the ZendFramework. This is what I get. C:\Users\frank>path PATH=C:\PHP;.c:\ZendFramework-1.11.11\bin;c:\ZendFramework-1.11.11\library Environment Variables ----------------------------------- PHP_PEAR_BIN_DIR C:\PHP PHP_PEAR_DATA_DIR C:\PHP\data PHP_PEAR_DOC_DIR C:\PHP\pear PHP_PEAR_INSTALL_DIR C:\PHP\pear PHP_PEAR_PHP_BIN C:\PHP PHP_PEAR_SYSCONF_DIR C:\PHP PHP_PEAR_TEST_DIR C:\PHP\test ZEND_TOOL_INCLUDE_PATH C:\PHP;C:\PHP\PEAR;C:\PHPUnit;C:\ZendFramework-1.11.11\library C:\Users\frank>php -version PHP 5.3.5 (cli) (built: Jan 6 2011 17:54:09) Copyright © 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies C:\Users\frank>phpunit --version PHPUnit 3.6.2 by Sebastian Bergmann. C:\Users\frank>zf show version Zend Framework Version: 1.11.11 C:\Users\frank>zf --setup config-file NOTE: the php include_path to be used with the tool has been written to the config file, using ZEND_TOOL_INCLUDE_PATH (or other include_path setters) is no longer necessary. Config file written to \Users\frank/.zf.ini contents of .zf.ini: -------------------- php.include_path = "C:\PHP;C:\PHP\PEAR;C:\PHPUnit;C:\ZendFramework-1.11.11\library" contents of php.ini ------------------- ; Windows: "\path1;\path2" ;include_path = "" extension_dir = "c:\PHP\ext" output of php -i ---------------- C:\Users\frank>php -i|findstr include_path include_path => .;C:\php\pear => .;C:\php\pear Quote Link to comment Share on other sites More sharing options...
frankdi Posted November 7, 2011 Author Report Share Posted November 7, 2011 I started this forum being new to this, perhaps it was the wrong place to put it but I can't seemed to find a way to delete it. I made 2 changes to the Apache2.2 config file as follows: LoadModule rewrite_module modules/mod_rewrite.so LoadModule vhost_alias_module modules/mod_vhost_alias.so and now when I create a project it sees the PHPUnit. C:\vHosts> C:\vHosts>zf create project study Creating project at C:/vHosts/study Note: This command created a web project, for more information setting up your VHOST, please see docs/README Thanks, FrankD Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.