I am expecting that you already have your WAMP set up installed and working fine on your machine
You can download Zend Framework from http://framework.zend.com/download/latest
Installation for ZF
1) Open httpd.conf from "C:\wamp\bin\apache\Apache2.2.11\conf"
2) Uncomment the following line "Include conf/extra/httpd-vhosts.conf" by removing # infront of it
3) Uncomment the followign line "LoadModule rewrite_module modules/mod_rewrite.so" by removing # infront of it
4) Search for <Directory />
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
# Deny from all
</Directory>
Comment the line "Deny from all" as shown above , set AllowOverride None to AllowOverride All
Save and close the httpd.conf file.
5) Open php.ini file ,
Search for ; Windows: "\path1;\path2"
set the include path to Zend library's reference path
include_path = ".;c:\wamp\www\ZendFramework\library"
6) Testing the successfull implementation of Zend Framework
Open Command Prompt
change directory to your document root
C:\Documents and Settings\jayesh.magare>cd c:\wamp\www\
C:\wamp\www>c:\wamp\www\ZendFramework\bin\zf.bat create project testp
Creating project at C:/wamp/www/testp
Note: This command created a web project, for more information setting up your VHOST, please see docs/README
Once this is done check the project with http://localhost/testp/public/ URL , if you see the zend framework screen , ur zend installation is done successfully and you can proceed to the development
Common Errors faced
1) At Stage 6 while executing zf.bat u may face the problem of php not being recognized at command to resolve this
set up the php.exe's path in your environment variable and restart ur pc and start wamp server, once restarted open command prompt
and type php -v , if this returns you the version then try step 6 again.
How to set up the environmental path ,
Right click on my computer icon , select properties, select advanced tab , click on environmental variables, in 1st box selecr tmp and 2nd box
select path click on edit button , append the php.exe's path like ;C:\wamp\bin\php\php5.3.0 and ok everything , now restart ur pc.
2) For previous projects in wamp u may get permission denied error while accessed via url , if so open ur http-vhost.conf file from
C:\wamp\bin\apache\Apache2.2.11\conf\extra check your virtual host settings here.
You can download Zend Framework from http://framework.zend.com/download/latest
Installation for ZF
1) Open httpd.conf from "C:\wamp\bin\apache\Apache2.2.11\conf"
2) Uncomment the following line "Include conf/extra/httpd-vhosts.conf" by removing # infront of it
3) Uncomment the followign line "LoadModule rewrite_module modules/mod_rewrite.so" by removing # infront of it
4) Search for <Directory />
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
# Deny from all
</Directory>
Comment the line "Deny from all" as shown above , set AllowOverride None to AllowOverride All
Save and close the httpd.conf file.
5) Open php.ini file ,
Search for ; Windows: "\path1;\path2"
set the include path to Zend library's reference path
include_path = ".;c:\wamp\www\ZendFramework\library"
6) Testing the successfull implementation of Zend Framework
Open Command Prompt
change directory to your document root
C:\Documents and Settings\jayesh.magare>cd c:\wamp\www\
C:\wamp\www>c:\wamp\www\ZendFramework\bin\zf.bat create project testp
Creating project at C:/wamp/www/testp
Note: This command created a web project, for more information setting up your VHOST, please see docs/README
Once this is done check the project with http://localhost/testp/public/ URL , if you see the zend framework screen , ur zend installation is done successfully and you can proceed to the development
Common Errors faced
1) At Stage 6 while executing zf.bat u may face the problem of php not being recognized at command to resolve this
set up the php.exe's path in your environment variable and restart ur pc and start wamp server, once restarted open command prompt
and type php -v , if this returns you the version then try step 6 again.
How to set up the environmental path ,
Right click on my computer icon , select properties, select advanced tab , click on environmental variables, in 1st box selecr tmp and 2nd box
select path click on edit button , append the php.exe's path like ;C:\wamp\bin\php\php5.3.0 and ok everything , now restart ur pc.
2) For previous projects in wamp u may get permission denied error while accessed via url , if so open ur http-vhost.conf file from
C:\wamp\bin\apache\Apache2.2.11\conf\extra check your virtual host settings here.
Comments
Post a Comment