AWS-Elastic BeanTalk:[错误]'php'找不到或无法统计

时间:2018-06-21 09:14:36

标签: php apache amazon-web-services elastic-beanstalk

我在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 个答案:

答案 0 :(得分:0)

这不是解决方案,但我遇到了同样的问题。 我将其发布为能够上传图像的答案。 我发现非常相似的东西。还有PHP 5.6。 这是新的液滴,最近已更新。在Ubuntu 16上,我添加了一个仓库来安装PHP 5.6,而不是默认的PHP 7。

  

sudo add-apt-repository ppa:ondrej / php

它来自哪里?

enter image description here