How to install Zend Framework on Windows

前端 未结 8 1406
面向向阳花
面向向阳花 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:40

    1. Zend != Zend Framework
    2. Zend Framework doesn't need to be installed. It is merely a library, it just needs to be placed somewhere.
    3. As johannes says you need to tell php where to look for the library so you add the folder where the Zend Framework library is located to your php include path.

    That's it, there is nothing more!

    Now it seems that your real problem has nothing to do with Zend Framework as such. You're trying to use Zend_Tool but the command line tool zf.bat is not on your system path so you are not able to use the command 'zf'. Zend Framework works fine without the tool, if you want to use it anyways, invoke the command, when you're in the folder where zf.bat resides or add the path to zf.bat to your system path.

    This means in a non-vague way:

    if (path-to-zf.bat isOn SYSTEM_PATH)
    {
        you can call 'zf' from anywhere;
    }
    else
    {
        you must be in the folder where zf.bat also is, if you want to call 'zf';
    }
    

提交回复
热议问题