Reputation: 1350
I am completely begginer with ZEND FRAMEWORK. I tried to install but was getting some error.
As I go with the zf@1 version installation.
C:\xampp\php
naming it as zendframework.include_path = ".;C:\xampp\php\PEAR;C:\xampp\php\zendframework\library"
Running command zf show version
ended with zf error that my zend framework should be in include path.
zf create project zend_blog
is correct?Upvotes: 2
Views: 2231
Reputation: 687
Follow the given Instruction Below.
• Go to ‘My Computer’ > Properties > Advanced Tab > Environment Variables.
Environment Variables box will open, View SYSTEM VARIABLES,
scroll the list to ’ PATH ‘ > double click ’ PATH ‘ .
Add the following line to the end of the PATH C:\xampp\php
Zend Framework
• Extract the Zend Framework files to C:\xampp\php\zf.
• Edit the php.ini file. You will find it at C:\xampp\php\php.ini.
Find the line that says ’ include_path ’ and edit the line:
Windows: “\path1;\path2″
include_path = “C:\xampp\php\zf\library”
• Open a shell and cd to C:\xampp\htdocs folder and type this:
C:\xampp\htdocs>C:\xampp\php\ZendFramework\bin\zf.bat create project testproject(project name)
• Now Copy the Zend Folder from your ZendFramework folder ( C:\xampp\php\zf/library /Zend) into the library folder of your new test project ( C:\xampp\htdocs\testproject\library\Zend
Upvotes: 5
Reputation: 8519
you need to put the zend framework path and the php.exe path into your windows path variable in order to run commands from the command line. This is important in ZF1 so that Zend_Tool will work at the command line or in Netbeans or other Ide's.
Upvotes: 0
Reputation: 6470
it has nothing to do with XAMPP. Something is not configured right or not correct privileges.
See these:
Upvotes: 0