酷!學園
歡迎光臨,
訪客
。請
登入
或
註冊帳號
。 您沒有收到
認證信
嗎?
一小時
一天
一週
一個月
永遠
請輸入帳號, 密碼以及預計登入時間
最新消息:
Study Area Facebook粉絲團
http://www.facebook.com/sataiwan
首頁
說明
搜尋
登入
註冊
酷!學園
»
技術討論區
»
Linux 討論版
»
主題:
Linux下建構zend framework的環境問題
« 上一篇
下一篇 »
列印
頁: [
1
]
作者
主題: Linux下建構zend framework的環境問題 (閱讀 3692 次)
0 會員 與 1 訪客 正在閱讀本文。
juangyh
可愛的小學生
文章數: 24
Linux下建構zend framework的環境問題
«
於:
2009-02-13 23:06 »
參考http://phpeye.com/zf/requirements.extensions.html 所安裝的模組
這是PHP 5.2.8有安裝的模組
/usr/local/php/bin/php -m
[PHP Modules]
apc
bcmath
ctype
curl
date
dom
filter
gd
hash
iconv
json
libxml
magickwand
mbstring
mcrypt
memcache
mhash
mime_magic
mysql
mysqli
pcre
PDO
pdo_mysql
pdo_sqlite
posix
Reflection
session
SimpleXML
soap
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
Zend Optimizer
zlib
[Zend Modules]
Zend Extension Manager
Zend Optimizer
==========================
apache 2.2.11所裝的模組
[root@localhost htdocs]# /usr/local/apache2/bin/apachectl -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_include.c
mod_filter.c
mod_deflate.c
mod_log_config.c
mod_env.c
mod_expires.c
mod_setenvif.c
worker.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgid.c
mod_vhost_alias.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_speling.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_so.c
httpd.conf也有啟用
AllowOverride All
.htaccess
只要是application/
controllers/ 下面都都顯示404 error
之前是用Xampp在linux下測試網頁的都沒問題
自己要配置環境(tarball安裝)就出錯了
不知道有無前輩有這方面經驗可分享的...感謝
記錄
fillano
鑽研的研究生
文章數: 526
回覆: Linux下建構zend framework的環境問題
«
回覆 #1 於:
2009-02-13 23:27 »
我記得有一些rewrite規則要設定吧?
記錄
Sapere aude! Habe Mut, dich deines eigenen Verstandes zu bedienen! ist also der Wahlspruch der Aufklärung.
juangyh
可愛的小學生
文章數: 24
回覆: Linux下建構zend framework的環境問題
«
回覆 #2 於:
2009-02-14 00:13 »
目前有做下列設定
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
記錄
micmic3
俺是博士!
文章數: 1693
回覆: Linux下建構zend framework的環境問題
«
回覆 #3 於:
2009-02-18 16:58 »
是用 fedora 嗎?如果是 SELINUX 先關掉
記錄
列印
頁: [
1
]
« 上一篇
下一篇 »
酷!學園
»
技術討論區
»
Linux 討論版
»
主題:
Linux下建構zend framework的環境問題