1. Zend Library 준비
- Zend Framework 사이트에서 최신 버전(2007-03-12 현재 ver0.8.0)을 다운
2. 디렉토리 구조
- Choosing Your Application's Directory Layout의 'Conventional' layout에 따름
/zend
.htaccess
index.php
/application
/config
/controllers
/models
/views
/htdocs
/images
/scripts
/styles
/library
/Zend
/(other libraries)
/tmp
/sessions
/cache
/view_compiles
3. Apache 설정
- mod_rewrite ON
LoadModule rewrite_module modules/mod_rewrite.so
- Zend Framework 설치 디렉토리 설정
<Directory "D:/www/zend">
Options FollowSymLinks
AllowOverride FileInfo
</Directory>
4. PHP 설정
- PHP.ini 수정
register_globals = Off
magic_quotes_gpc = Off
; Windows: "\path1;\path2"
include_path = ".;D:\RWAPM\RTM20040531\bin\PEAR;D:\www\zend\library"
extension=php_pdo.dll
extension=php_pdo_mysql.dll
5. .htaccess 파일 설정
- zend/.htaccess
RewriteEngine On
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
- zend/htdocs
RewriteEngine Off
- zend/application
deny from all
- zend/library
deny from all
※ 참고사이트
http://framework.zend.com/
http://akrabat.com/zend-framework-tutorial/
http://usingzendframework.blogspot.com/2007/01/setting-up-zend-framework.html
http://www.alexatnet.com/blog/2/2006-10-03/how-to-run-a-php-application-together-with-the-zend-framework-application
http://devzone.zend.com/node/view/id/1665
http://framework.zend.com/wiki/display/ZFDEV/Choosing+Your+Application%27s+Directory+Layout
출처 : Tong - 반이오타님의 My Development Language통
[출처] 1. Zend Framework의 설치와 환경설정|작성자 제이
'FrameWork > ZendFrameWork' 카테고리의 다른 글
Simple Zend_Layout Example (0) | 2008.08.13 |
---|---|
일반 php에서 Zend Framework Library 사용하기 위한 설정 (0) | 2008.08.13 |
Zend Framework 설치하기 (0) | 2008.08.13 |
zendFramework 설치 (0) | 2008.08.13 |
젠드 프레임웍 한글메뉴얼 (0) | 2008.08.08 |