Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. restapi-app | [19-Mar-2019 11:38:15] WARNING: [pool www] child 15 said into stderr: "NOTICE: PHP message: PHP Warning: require(/var/www/app/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/app/public/index.php on line 24"
  2. restapi-app | 127.0.0.1 - 19/Mar/2019:11:38:15 +0000 "GET /index.php" 500
  3. restapi-app | [19-Mar-2019 11:38:15] WARNING: [pool www] child 15 said into stderr: "NOTICE: PHP message: PHP Fatal error: require(): Failed opening required '/var/www/app/public/../vendor/autoload.php' (include_path='.:') in /var/www/app/public/index.php on line 24"
  4. restapi-app | 2019/03/19 11:38:15 [error] 12#12: *4 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/app/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/app/public/index.php on line 24
  5. restapi-app | PHP message: PHP Fatal error: require(): Failed opening required '/var/www/app/public/../vendor/autoload.php' (include_path='.:') in /var/www/app/public/index.php on line 24" while reading response header from upstream, client: 172.23.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
  6. restapi-app | 172.23.0.1 - - [19/Mar/2019:11:38:15 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36" "-"
  7.  
  8. # v2 syntax
  9. version: '2'
  10.  
  11. # Named volumes
  12. volumes:
  13. # MySQL Data
  14. restapi-mysql-data:
  15. driver: local
  16.  
  17. services:
  18. # MySQL (5.7)
  19. mysql:
  20. image: mysql:5.7
  21. container_name: restapi-mysql
  22. volumes:
  23. - restapi-mysql-data:/var/lib/mysql
  24. ports:
  25. - "3306:3306"
  26. environment:
  27. - MYSQL_ROOT_PASSWORD=restapi
  28. - MYSQL_DATABASE=restapi
  29. - MYSQL_USER=restapi
  30. - MYSQL_PASSWORD=restapi
  31.  
  32. # PHP (with nginx)
  33. app:
  34. image: ambientum/php:7.2-nginx
  35. container_name: restapi-app
  36. volumes:
  37. - .:/var/www/app
  38. ports:
  39. - "80:8080"
  40. links:
  41. - mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement