How to install Zend Framework on Windows

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

    The framework doesn't have to be in the htdocs folder, it can be anywhere. Once you decompressed it somewhere you're 50% done.

    Next step is to locate your php.ini file (for instance create a file in your htdocs folder execute it and look for "Configuration (php.ini) filepath" (or similar) in the first block. In that file add the path to the ZendFramework to the include_dir directive. This has to include the library folder. Your setting might look like this:

    include_dir = .;c:\php\ZendFramework\library
    

    Often it also includes the path to PEAR.

    Then restart your server.

    You are done.

提交回复
热议问题