0
當我從一臺主機遷移到另一個我的網站,這個錯誤開始發生:http://eldwa.com/訪問PHP頁面下載文件,而不是處理/解析PHP
這是htaccess的
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# php -- BEGIN cPanel-generated handler, do not edit
# Set the 「ea-php56」 package as the default 「PHP」 programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
不要使用「文字說話」(如plz) - 拼出來。 –
這是不可能回答的,因爲我們不知道你的主機的具體情況(什麼版本的PHP?你的服務器是否使用ea來處理PHP請求?等) - 另外 - 聯繫你的新主機提供商?他們應該能夠爲你解決這個問題。 –