AWS - Elastic BeansTalk:[错误] 'php' 未找到或无法统计
Posted
技术标签:
【中文标题】AWS - Elastic BeansTalk:[错误] \'php\' 未找到或无法统计【英文标题】:AWS - Elastic BeanTalk: [error] 'php' not found or unable to statAWS - Elastic BeansTalk:[错误] 'php' 未找到或无法统计 【发布时间】:2018-11-30 13:32:00 【问题描述】:我在 Elastic BeanTalk 上部署了一个简单的网站(平台:php 5.6)。
public
|about.html
|index.html
|style.css
|+ include
|subscribe-email.php
|+ phpmailer
当我检查日志时,我收到许多与“.php”未找到或无法统计相关的错误。我不知道这些php文件是从哪里生成的。
[Thu Jun 21 06:18:52.967190 2018] [:error] [pid 12523] [client xxx] script '/var/www/html/xxxx/public/wp-login.php' not found or unable to stat
[Thu Jun 21 06:25:46.354172 2018] [:error] [pid 12742] [client xxx] script '/var/www/html/xxxx/public/wp-login.php' not found or unable to stat
[Thu Jun 21 06:44:44.392342 2018] [:error] [pid 12963] [client xxx] script '/var/www/html/xxxx/public/wp-login.php' not found or unable to stat
[Thu Jun 21 07:18:12.899793 2018] [:error] [pid 13726] [client xxx] script '/var/www/html/xxxx/public/index.php' not found or unable to stat
[Thu Jun 21 07:18:24.145541 2018] [:error] [pid 13531] [client xxx] script '/var/www/html/xxxx/public/wuwu11.php' not found or unable to stat
[Thu Jun 21 07:18:24.925862 2018] [:error] [pid 13418] [client xxx] script '/var/www/html/xxxx/public/xw.php' not found or unable to stat
[Thu Jun 21 07:18:25.689064 2018] [:error] [pid 13418] [client xxx] script '/var/www/html/xxxx/public/xx.php' not found or unable to stat
[Thu Jun 21 07:18:26.489205 2018] [:error] [pid 13418] [client xxx] script '/var/www/html/xxxx/public/s.php' not found or unable to stat
[Thu Jun 21 07:18:27.282847 2018] [:error] [pid 13418] [client xxx] script '/var/www/html/xxxx/public/w.php' not found or unable to stat
[Thu Jun 21 07:18:28.081399 2018] [:error] [pid 13418] [client xxx] script '/var/www/html/xxxx/public/sheep.php' not found or unable
欢迎提出任何建议。
【问题讨论】:
【参考方案1】:这不是一个解决方案,但我遇到了同样的问题。 我将其发布为能够上传图片的答案。 我发现了一些非常相似的东西。还有 PHP 5.6。 这是新的液滴,最近更新了。 Ubuntu 16,我添加了一个 repo 以便能够安装 PHP 5.6 而不是默认的 PHP 7。
sudo add-apt-repository ppa:ondrej/php
它来自哪里?
【讨论】:
以上是关于AWS - Elastic BeansTalk:[错误] 'php' 未找到或无法统计的主要内容,如果未能解决你的问题,请参考以下文章
AWS Elastic Beanstalk CLI 安装错误