Pages

Sunday 9 September 2012

Configuring Zend Framework for PHP on Windows


First download and extract the Zendframework 1.1.11.zip to C:/server and rename Zendframework 1.1.11 to Zendframework

Configuring php.ini

Find
;include_path = ".;c:\php\includes"

Replace
;include_path = ".;c:\php\includes;C:\ZendFramework\library\zend"

Adding Environment variable
  • ·         Right click My Computer | Properties|Advance Settings |Advanced |Environment Variable
  • ·         Select User Variable for Admin
  • ·         Select PATH from System Variable and add
  • ·         Add Path
C:\server\ZendFramework\library\zend

Command Prompt

Go to the bin folder of the zendframework installation path

C:\>cd  C:/server/zendframework/bin/zf

C:\>server/zendframework/bin/zf>zf show version

would show the version of the Zend framework successfully installed.

Zend Framework 1.1.11

To create Zend Project use the following command
C:\>server/zendframework/bin/zf>zf create welcome



No comments:

Post a Comment