How to install Zend Framework on Windows

前端 未结 8 1236
面向向阳花
面向向阳花 2021-02-01 05:13

\"installing Zend Framework is so easy!!!!\" yeah right...

Ok I\'m working with a beginner\'s book and the ONE thing that is not excessively detailed is the most importa

相关标签:
8条回答
  • 2021-02-01 05:42

    Derived from http://normankosmal.com/wordpress/?p=47:

    ****> ****Process  of install zend framework in window 
    > 1) Download zend framework
    > 2)After installing xampp extract the
    > Zend Framework files into a folder of
    > your choice. Next step is to edit the
    > php.ini. Usually this file can be
    > found in the php folder in your xampp
    > installation. Find the line that says
    > include_path and edit the line like
    > this:
    >     Windows: “\path1;\path2″
    >     include_path = “.;D:\Informatik\SERVER\xampp\php\pear\;D:\Informatik\SERVER\xampp\php\ZendFramework\library”
    >     3) 
    >      did you add your php interpreter to %PATH%?
    >     In which file i have to add the PHP interpreter?
    >     You mean i need to edit zf.bat file
    >     SET ZF_SCRIPT=%PHP_DIR%\zf.php
    >     Here in place of %PHP_DIR% i need to add the path of my PHP directory?
    >     Can you plzz help me out.
    >     4) D:\Informatik\SERVER\xampp\htdocs>D:\Informatik\SERVER\xampp\php\ZendFramework\b
    >     in\zf.bat create project testproject********
    
    0 讨论(0)
  • 2021-02-01 05:42

    Easier to read if I type it here.

    Here's a step-by-step:

    • open terminal window
    • type cd c:\
    • type cd php
    • type zf create project c:/APACHE/htdocs/PROJECTNAME

    Substitute your directory and project names where I used all caps.

    That should work. Notice that you had to navigate to the PHP home directory because this is where the php.exe file is, and this is where the zf.bat and zf.php files are. Apparently both are required when using Zend_Tool.

    0 讨论(0)
提交回复
热议问题