开发者

Error with zend installation on win 7

I am trying to install ZEND FRAMEWORK on my localhost but failing miserable. I am following the below mentioned steps but don't know where am I going wrong. Please help me with the same.

Steps are as follows that I followed:

  1. Downloaded the ZEND Framework full package version 1.11.7 which is about 25 Mb in a zipped version and then unzipped it to a folder called ZendFrameWork.

  2. Copied the ZendFramework folder inside my c:\xampp\php\

  3. changed the "include_path = '.;\xampp\php\PEAR;\.;C:\xampp\php\ZendFramework\library' " in the php.ini file.

  4. Then restarted the apache server.

EDIT :: I have successfully managed to get the zf command to run without any errors. but now, all it does is, after i enter "zf create myproject" it just gets stuck with the cursor blinking on the next line. And if i press CTRL+C, i get the message : Terminate batch job ? (Y/N)

  1. Then set the environment variable for zf.bat file as " C:\xampp\php\ZendFramework\bin "

  2. But when I try to execute the " zf create sampleProjName " from command line it does n开发者_开发技巧othing, so then I used Windows Powershell and it gives the error which I have attached below.

Waiting for your response. Thanks in advance.

Error with zend installation on win 7


Try using normal cmd - not powershell. Works fine for me.


Thanks for all your response. I successfully installed Zend Framework.

I removed the full installation and replaced it with minimal installation and also I did not have php.exe set as an environment variable, so i did that too and also in the php.ini file i needed to write the zend library first before the pear one.

And this was it, TA-DA, it worked.

:)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜