English 中文(简体)
PHP在新网站的浏览器中没有解释
原标题:PHP not interpreted by browser on new webhost

将我的网站移至一个新的网站厅,Im发行有笔/服务器文件。 PHP文档由浏览器解释,但只有下载。 我是这方面的一个起点。

MySQL: 5.0.84

PHP, 5.2.17

* A/63/150。

在www.htaccess档案中,我写道:

AddType application/x-httpd-php5 .php

网址是:www.un.org。

Running a php info in the backend ( frontend doesnt interpret php ... ) shows well, if you need infos from it.

我确实需要一些帮助,ty忙。

最佳回答

网址为服务器。 因此,它是一个服务器问题。

检查您的“htaccess”,以确保它能够收拾“php”。

可能需要增加一条线:

AddType application/x-httpd-php .php .php3 .phtml .htm .html
问题回答

暂无回答




相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签