,當我在服務器上載蛋糕PHP的時候有錯誤,它給了我下面的錯誤:CakePHP的顯示部署在服務器
- URL重寫是不是你的服務器
- 班「PDO」中未發現正確配置/home/is306t3/public_html/lib/Cake/Model/Datasource/Database/Mysql.php上線177
我已經包括htaccess文件CakePHP執行的建議:
根htaccess的作爲如下:
IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase/
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
應用的htaccess如下:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase/
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
最後是應用程序/ Web根目錄的htaccess如下:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RRewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>
我的網站的目錄結構
希望有人能夠ELP。謝謝!
你在使用什麼東道主? – Wylie 2012-02-28 02:19:39
我正在使用集體主義者 – madi 2012-02-28 03:08:56
Epitomist.com.sg – madi 2012-02-28 05:14:58