Monday, January 20, 2014

Tutorial zend 1: Config, Setting and Run on browser

Download Soft Zend:  http://framework.zend.com/downloads/latest
Unzip after coppy folder Zend in path: /library/Zend  paste to: C:/xampp with server is Xampp



Continute  coppy 3 file in folder Bin paste to: C:\xampp\php




Open File: httpd.conf
Delete sharp "#": LoadModule rewrite_module modules/mod_rewrite.so
Continute open file: php.ini
Delete comma ",": extension=php_pdo_mysql.dll
Find to line include_path and edit such as image:


Test equal command line:
step 1: cmd->run
step 2: write command:
zf show version

step 3: create project
Move on C:\xampp\htdocs


Zf create project  C:\xampp\htdocs\chapter1 chapter1

 Open folder: C:\xampp\htdocs show up folder chapter1
step 4: run on browser:
http://localhost/chapter1/public/
But you should edit such as after:
Open folder public cut 2 file: index.php and .htaccess out path: C:\xampp\htdocs\chapter1

Open file index.php edit:
before:
after:



after run on browser:

http://localhost/chapter1
 
Thank you!

No comments:

Post a Comment