开发者

can there be a case when some php files work on lamp and not on wamp?

I mean,technically it shouldnt matter because i use PHP 5.3.0 in both cases...but there's this php file which when executed gives me开发者_如何学C the output correctly on Linux..but just displays the html part when i execute on windows...


Check the php file for incorrect filesystem paths.

but just displays the html part when i execute on windows

Assuming you mean it displays that code instead of the php output, make sure that this file starts and ends with the proper php tags...

<?php
?>

Some servers have short tags option on, some don't.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜