简体   繁体   English

PHP页面未在AWS Elastic Beanstalk中显示

[英]PHP pages not showing in AWS Elastic Beanstalk

So I'm trying to deploy my first application on AWS Elastic Beanstalk, but I'm having some issues. 因此,我试图在AWS Elastic Beanstalk上部署我的第一个应用程序,但遇到了一些问题。

When I try to go to my php pages, a blank page is pulled up in the web browser. 当我尝试转到php页面时,在网络浏览器中弹出了一个空白页面。 However all the html pages on my app are pulling fine (although they aren't styled). 但是,我的应用程序上的所有html页面都运行良好(尽管未设置样式)。 Anyone have any ideas why that is? 有人有什么想法吗?

FYI: I'm not sure if I am connecting to my database instance on RDS correctly. 仅供参考:我不确定我是否正确连接到RDS上的数据库实例。

You need to pinpoint the issue via the logs. 您需要通过日志查明问题。 Go to your Elastic Beanstalk console and request the full logs. 转到您的Elastic Beanstalk控制台并请求完整日志。 Once you got this zip you'll probably find an error in the directory-hooks-executor.log file (or any other file). 一旦获得此zip,您可能会在directory-hooks-executor.log文件(或任何其他文件)中发现错误。

Sorry I figured it out! 对不起,我想通了! I didn't know that URL's past the top level domain were case-sensitive for Linux. 我不知道URL超过顶级域对于Linux区分大小写。 I had one letter that wasn't the correct capitalization on my files. 我的一封信不是我档案中正确的大写字母。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM