开发者

IIS doesn't interpret a php file

开发者 https://www.devze.com 2023-02-22 14:27 出处:网络
I have a IIS webserver (v 6.1) with a webpage which is accessable from other devic开发者_JAVA百科es in the LAN. If I try to access a php-page via the IP address I can only download the file. IIS doesn

I have a IIS webserver (v 6.1) with a webpage which is accessable from other devic开发者_JAVA百科es in the LAN. If I try to access a php-page via the IP address I can only download the file. IIS doesn't interpret the PHP.

When I access the page locally (with a specified hostname like 'http://test.app') everything works fine.

Are there any settings to control this behaviour?


In default IIS server doesn't parse php content and

you must configure your IIS server to parse and render PHP content.

Please read this setup tutorial

or just google for configuring iis for php


The problem lies within the PHP file as it returns JSON or JavaScript.

0

精彩评论

暂无评论...
验证码 换一张
取 消