Codxplore.com

Latest news: New android application Islamic Video has been released. its a free islamic video application for android smartphone. Download now!


4 Responses to “Installing and running the Zend Framework on XAMPP”

1) It is assume that XAMPP is installed on your windows system

a)Must have the mod_rewrite extension installed and configured
b)Must also ensure that Apache is configured to support .htaccess files.

AllowOverride All

2) Zend is easy to get up and running on XAMPP.

3) Download latest (Zend Framework 1.11.6) Full from link >> http://framework.zend.com/download/latest

a)Create folder named “ZendFramework” at C:\xampp\php path.

b)Uncompress “Zend Framework 1.11.6.zip” then go to library >> Zend folder copy all the content and paste
in above created ZendFramework folder at C:\xampp\php\ZendFramework

4) Then make sure to change the include path in

\xampp\php\php.ini

append include_path with new ;C:\xampp\php\ZendFramework

It should look something like this:

include_path = “.;C:\xampp\php\pear\;C:\xampp\php\ZendFramework”

>>re-start the server

Installing QuickStart Guestbook Example by zend

a) Download “ZendFrameworkQuickstart.zip” from http://framework.zend.com/manual/en/learning.quickstart.intro.html

b) For convenience create a project named “zendQuickStart” inside xampp`s htdocs folder, because apache serves files from there.

c) Uncompress “ZendFrameworkQuickstart.zip” and Copy content of project folder “zendQuickStart”

d) Create VirtualHost on XAMPP

For that make changes in below mention file

>> C:\xampp\apache\conf\extra\httpd-vhosts.conf

DocumentRoot “C:/xampp/htdocs/zendQuickStart/public”
ServerName *

Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

>>re-start the server

e) Quickstart uses the sqlite database so make sure the below extension are enable in php.ini file

extension=php_pdo.dll
extension=php_pdo_sqlite.dll

>>re-start the server

f) now access http://localhost/

Creating zend project scaleton

a) Download “ZendFramework-1.11.6-minimal.zip” from path >> http://framework.zend.com/download/latest

a) Create folder named “ZendFrameworkCli” at path C:/Program Files

c) Uncompress above folder and copy “bin” and “library” folder and paste in “ZendFrameworkCli” at path C:/Program Files

d) Now Right click on “My Computer” click on properties >> Advance >> Enviroment Variables >>

select CLASSPATH under System Varibles click on Edit button and append ;C:\xampp\php to existing value.

f) Run “cmd” command and go to path C:\Progam Files\ZendFrameworkCli\bin>

g) Type below command to check zend verion

C:\Progam Files\ZendFrameworkCli\bin>zf show version

you will see

Zend Framework Version 1.11.6

h) Now Type below command to create project

C:\Progam Files\ZendFrameworkCli\bin>zf create project C:/xampp/htdocs/zfmyfirstproject

This will create a zend framework folder structure for you.

Copy tge Zend folder from ZendFramework-1.11.6-minimal/library and paste in C:/xampp/htdocs/zfmyfirstproject/library

 

 

Thats it

Tags :

Views : 744

Subscribe Us


Follow Us