英文:
deploy index.php in iis
问题
- 尝试在 IIS 中部署 index.php。
- 预期显示网站。
- 无法打开 index.php。
英文:
I made a small application that displays a tree of directories and their files, photos and videos. It is a single php file. I need to display that index.php file in an iis but I don't know how. I have tried to make an iis web site point to the folder where I have the php file and nothing opens.
- try deploy index.php in iis.
- expected shoy the web site.
- not open index.php.
答案1
得分: 1
我按照 @ADyson 的建议启用了 display_errors,然后我能够看到代码中的错误。问题是由于PHP版本引起的解析器异常,使用 isset 来检查变量是否为Null解决了它。
英文:
I enabled display_errors as @ADyson said and I could see the errors in the code. The problem was a Parser Exception because of the PHP version, using isset to check if variables are Null fixed it.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论