Amélioration de la structure du projet et démarrage de Docker OK
This commit is contained in:
parent
5c116e15b1
commit
8ac12f715c
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
CI_COMPOSE=FIXUID=$(shell id -u) FIXGID=$(shell id -g) docker-compose -f docker-compose.yml
|
||||
LOGINAPP_SHELL_USER ?= www-data:
|
||||
|
||||
up:
|
||||
FIXUID=$(shell id -u) FIXGID=$(shell id -g) docker-compose up --build
|
||||
|
||||
down:
|
||||
docker-compose down -v
|
||||
|
||||
purge:
|
||||
docker-compose down -v --remove-orphans --rmi local
|
||||
|
||||
loginapp-shell:
|
||||
$(CI_COMPOSE) exec \
|
||||
-u "$(LOGINAPP_SHELL_USER)" \
|
||||
loginapp \
|
||||
/bin/bash
|
92
composer.lock
generated
92
composer.lock
generated
@ -8,20 +8,20 @@
|
||||
"packages": [
|
||||
{
|
||||
"name": "psr/cache",
|
||||
"version": "2.0.0",
|
||||
"version": "1.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/php-fig/cache.git",
|
||||
"reference": "213f9dbc5b9bfbc4f8db86d2838dc968752ce13b"
|
||||
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/php-fig/cache/zipball/213f9dbc5b9bfbc4f8db86d2838dc968752ce13b",
|
||||
"reference": "213f9dbc5b9bfbc4f8db86d2838dc968752ce13b",
|
||||
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
|
||||
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.0"
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
@ -41,7 +41,7 @@
|
||||
"authors": [
|
||||
{
|
||||
"name": "PHP-FIG",
|
||||
"homepage": "https://www.php-fig.org/"
|
||||
"homepage": "http://www.php-fig.org/"
|
||||
}
|
||||
],
|
||||
"description": "Common interface for caching libraries",
|
||||
@ -51,9 +51,9 @@
|
||||
"psr-6"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/php-fig/cache/tree/2.0.0"
|
||||
"source": "https://github.com/php-fig/cache/tree/master"
|
||||
},
|
||||
"time": "2021-02-03T23:23:37+00:00"
|
||||
"time": "2016-08-06T20:24:11+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/container",
|
||||
@ -155,30 +155,30 @@
|
||||
},
|
||||
{
|
||||
"name": "psr/log",
|
||||
"version": "2.0.0",
|
||||
"version": "1.1.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/php-fig/log.git",
|
||||
"reference": "ef29f6d262798707a9edd554e2b82517ef3a9376"
|
||||
"reference": "d49695b909c3b7628b6289db5479a1c204601f11"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376",
|
||||
"reference": "ef29f6d262798707a9edd554e2b82517ef3a9376",
|
||||
"url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
|
||||
"reference": "d49695b909c3b7628b6289db5479a1c204601f11",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.0"
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.0.x-dev"
|
||||
"dev-master": "1.1.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Psr\\Log\\": "src"
|
||||
"Psr\\Log\\": "Psr/Log/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
@ -199,9 +199,9 @@
|
||||
"psr-3"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/php-fig/log/tree/2.0.0"
|
||||
"source": "https://github.com/php-fig/log/tree/1.1.4"
|
||||
},
|
||||
"time": "2021-07-14T16:41:46+00:00"
|
||||
"time": "2021-05-03T11:20:27+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/cache",
|
||||
@ -648,25 +648,25 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
"version": "v3.0.1",
|
||||
"version": "v2.5.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/deprecation-contracts.git",
|
||||
"reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"
|
||||
"reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
|
||||
"reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
|
||||
"reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2"
|
||||
"php": ">=7.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.0-dev"
|
||||
"dev-main": "2.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
@ -695,7 +695,7 @@
|
||||
"description": "A generic function and convention to trigger deprecation notices",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.1"
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -711,7 +711,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-01-02T09:55:41+00:00"
|
||||
"time": "2022-01-02T09:53:40+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/dotenv",
|
||||
@ -942,20 +942,20 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/event-dispatcher-contracts",
|
||||
"version": "v3.0.1",
|
||||
"version": "v2.5.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
|
||||
"reference": "7bc61cc2db649b4637d331240c5346dcc7708051"
|
||||
"reference": "f98b54df6ad059855739db6fcbc2d36995283fe1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051",
|
||||
"reference": "7bc61cc2db649b4637d331240c5346dcc7708051",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1",
|
||||
"reference": "f98b54df6ad059855739db6fcbc2d36995283fe1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2",
|
||||
"php": ">=7.2.5",
|
||||
"psr/event-dispatcher": "^1"
|
||||
},
|
||||
"suggest": {
|
||||
@ -964,7 +964,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.0-dev"
|
||||
"dev-main": "2.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
@ -1001,7 +1001,7 @@
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.1"
|
||||
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1017,7 +1017,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-01-02T09:55:41+00:00"
|
||||
"time": "2022-01-02T09:53:40+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/filesystem",
|
||||
@ -1148,28 +1148,28 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/flex",
|
||||
"version": "v2.1.6",
|
||||
"version": "v1.18.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/flex.git",
|
||||
"reference": "dd7dafe3bfebf8441e167b76d8a18974585467f3"
|
||||
"reference": "10e438f53a972439675dc720706f0cd5c0ed94f1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/flex/zipball/dd7dafe3bfebf8441e167b76d8a18974585467f3",
|
||||
"reference": "dd7dafe3bfebf8441e167b76d8a18974585467f3",
|
||||
"url": "https://api.github.com/repos/symfony/flex/zipball/10e438f53a972439675dc720706f0cd5c0ed94f1",
|
||||
"reference": "10e438f53a972439675dc720706f0cd5c0ed94f1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"composer-plugin-api": "^2.1",
|
||||
"php": ">=8.0"
|
||||
"composer-plugin-api": "^1.0|^2.0",
|
||||
"php": ">=7.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"composer/composer": "^2.1",
|
||||
"symfony/dotenv": "^5.4|^6.0",
|
||||
"symfony/filesystem": "^5.4|^6.0",
|
||||
"symfony/phpunit-bridge": "^5.4|^6.0",
|
||||
"symfony/process": "^5.4|^6.0"
|
||||
"composer/composer": "^1.0.2|^2.0",
|
||||
"symfony/dotenv": "^4.4|^5.0|^6.0",
|
||||
"symfony/filesystem": "^4.4|^5.0|^6.0",
|
||||
"symfony/phpunit-bridge": "^4.4.12|^5.0|^6.0",
|
||||
"symfony/process": "^4.4|^5.0|^6.0"
|
||||
},
|
||||
"type": "composer-plugin",
|
||||
"extra": {
|
||||
@ -1193,7 +1193,7 @@
|
||||
"description": "Composer plugin for Symfony",
|
||||
"support": {
|
||||
"issues": "https://github.com/symfony/flex/issues",
|
||||
"source": "https://github.com/symfony/flex/tree/v2.1.6"
|
||||
"source": "https://github.com/symfony/flex/tree/v1.18.5"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1209,7 +1209,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-02-16T17:31:43+00:00"
|
||||
"time": "2022-02-16T17:26:46+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/framework-bundle",
|
||||
|
@ -1,59 +1,38 @@
|
||||
<VirtualHost *:80>
|
||||
# The ServerName directive sets the request scheme, hostname and port that
|
||||
# the server uses to identify itself. This is used when creating
|
||||
# redirection URLs. In the context of virtual hosts, the ServerName
|
||||
# specifies what hostname must appear in the request's Host: header to
|
||||
# match this virtual host. For the default virtual host (this file) this
|
||||
# value is not decisive as it is used as a last resort host regardless.
|
||||
# However, you must set it for any further virtual host explicitly.
|
||||
#ServerName www.example.com
|
||||
# Uncomment the following line to force Apache to pass the Authorization
|
||||
# header to PHP: required for "basic_auth" under PHP-FPM and FastCGI
|
||||
#
|
||||
# SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
|
||||
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /loginapp/public
|
||||
|
||||
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||||
# error, crit, alert, emerg.
|
||||
# It is also possible to configure the loglevel for particular
|
||||
# modules, e.g.
|
||||
#LogLevel info ssl:warn
|
||||
|
||||
LogLevel info
|
||||
ErrorLog |/bin/cat
|
||||
CustomLog |/bin/cat combined
|
||||
|
||||
Header merge Access-Control-Allow-Origin "*"
|
||||
Header merge Access-Control-Allow-Headers "X-Requested-With"
|
||||
|
||||
AddType image/svg+xml svg svgz
|
||||
AddEncoding gzip svgz
|
||||
|
||||
#Alias /page/image /portal/app/uploads/portal_images
|
||||
Alias /build /loginapp/public/build
|
||||
Alias /images /loginapp/public/images
|
||||
#Alias /img /loginapp/public/img
|
||||
Alias /js /loginapp/public/js
|
||||
Alias /css /loginapp/public/css
|
||||
Alias /bundles /loginapp/public/bundles
|
||||
Alias /favicon.ico /loginapp/public/favicon.ico
|
||||
Alias /logiinapp /loginapp/public
|
||||
|
||||
<Directory "/loginapp/public">
|
||||
Header merge Access-Control-Allow-Origin "*"
|
||||
DirectoryIndex app_docker.php
|
||||
Require all granted
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ /app_docker.php [QSA,L]
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
#<Directory "/portal/app/uploads">
|
||||
# Require all granted
|
||||
#</Directory>
|
||||
|
||||
<FilesMatch "\.(png|jp?g|gif|ico|css|map|woff?|eot|svg|ttf|js|json|pdf)">
|
||||
ExpiresActive on
|
||||
ExpiresDefault "access plus 1 weeks"
|
||||
# For Apache 2.4.9 or higher
|
||||
# Using SetHandler avoids issues with using ProxyPassMatch in combination
|
||||
# with mod_rewrite or mod_autoindex
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:unix:/run/php/php7.4-fpm.sock|fcgi://127.0.0.1:9000"
|
||||
# for Unix sockets, Apache 2.4.10 or higher
|
||||
# SetHandler proxy:unix:/path/to/fpm.sock|fcgi://dummy
|
||||
</FilesMatch>
|
||||
|
||||
# If you use Apache version below 2.4.9 you must consider update or use this instead
|
||||
# ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/project/public/$1
|
||||
|
||||
# If you run your Symfony application on a subpath of your document root, the
|
||||
# regular expression must be changed accordingly:
|
||||
# ProxyPassMatch ^/path-to-app/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/project/public/$1
|
||||
|
||||
DocumentRoot /loginapp/public
|
||||
<Directory /loginapp/public>
|
||||
# enable the .htaccess rewrites
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# uncomment the following lines if you install assets as symlinks
|
||||
# or run into problems when compiling LESS/Sass/CoffeeScript assets
|
||||
# <Directory /var/www/project>
|
||||
# Options FollowSymlinks
|
||||
# </Directory>
|
||||
|
||||
ErrorLog /var/log/apache2/project_error.log
|
||||
CustomLog /var/log/apache2/project_access.log combined
|
||||
</VirtualHost>
|
@ -7,7 +7,7 @@ ARG https_proxy=
|
||||
|
||||
ENV WAITFORIT_VERSION="v2.4.1"
|
||||
|
||||
ARG PHP_VERSION="8.1"
|
||||
ARG PHP_VERSION="7.4"
|
||||
ENV PHP_VERSION $PHP_VERSION
|
||||
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
@ -50,34 +50,32 @@ VOLUME /loginapp/var/logs
|
||||
VOLUME /loginapp/var/cache
|
||||
|
||||
# Install composer
|
||||
COPY install-composer.sh /root/install-composer.sh
|
||||
RUN chmod +x /root/install-composer.sh &&\
|
||||
/root/install-composer.sh &&\
|
||||
rm -f /root/install-composer.sh
|
||||
COPY install-composer.sh /loginapp/install-composer.sh
|
||||
RUN chmod +x /loginapp/install-composer.sh &&\
|
||||
/loginapp/install-composer.sh &&\
|
||||
rm -f /loginapp/install-composer.sh
|
||||
|
||||
# On active les mods d'apache nécessaires
|
||||
RUN a2enmod rewrite
|
||||
RUN a2enmod proxy_fcgi setenvif
|
||||
RUN a2enconf php8.1-fpm
|
||||
RUN a2enconf php7.4-fpm
|
||||
RUN a2enmod proxy
|
||||
RUN a2enmod expires
|
||||
RUN a2enmod headers
|
||||
|
||||
# On injecte les bonnes configs apache et php-fpm
|
||||
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
|
||||
COPY www.conf /etc/php/8.1/fpm/pool.d/www.conf
|
||||
|
||||
# Allow passing of environment variables to PHP
|
||||
# Used in web/app_dev.php to detect docker-compose environment
|
||||
RUN for i in /etc/php/*; do mkdir -p $i/cli/conf.d; echo 'variables_order = "EGPCS"' > $i/cli/conf.d/mse.ini; done;
|
||||
COPY www.conf /etc/php/7.4/fpm/pool.d/www.conf
|
||||
|
||||
EXPOSE 5000
|
||||
EXPOSE 80
|
||||
|
||||
WORKDIR /loginapp
|
||||
|
||||
# Flag to allow access to app_dev.php from Docker host
|
||||
ENV MSE_DOCKER_COMPOSER_DEVELOPMENT=yes
|
||||
# On démarre php-fpm une fois pour créer les sockets
|
||||
RUN service php7.4-fpm start
|
||||
RUN service php7.4-fpm stop
|
||||
|
||||
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
@ -85,9 +83,6 @@ RUN chmod +x /docker-entrypoint.sh
|
||||
COPY first-run.sh /root/first-run.sh
|
||||
RUN chmod +x /root/first-run.sh
|
||||
|
||||
# On crée un point d'entrée non restrictif et non tracké pour être utilisé par apache
|
||||
COPY app_docker.php /root/app_docker.php
|
||||
|
||||
# Disable rsyslog privileges drop to allow stdout logging
|
||||
RUN sed -i 's/^\$\(PrivDropTo.*\)$/#\1/' /etc/rsyslog.conf
|
||||
RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
|
||||
|
@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\ErrorHandler\Debug;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
Debug::enable();
|
||||
|
||||
$kernel = new AppKernel('dev', true);
|
||||
if (PHP_VERSION_ID < 70000) {
|
||||
$kernel->loadClassCache();
|
||||
}
|
||||
Request::setTrustedProxies(['192.168.0.0/24'], Request::HEADER_X_FORWARDED_ALL);
|
||||
$request = Request::createFromGlobals();
|
||||
$response = $kernel->handle($request);
|
||||
$response->send();
|
||||
$kernel->terminate($request, $response);
|
@ -2,9 +2,6 @@
|
||||
|
||||
set -xeo pipefail
|
||||
|
||||
|
||||
sudo cp /root/app_docker.php /loginapp/public/app_docker.php
|
||||
|
||||
[ ! -d /var/www/.config ] && sudo mkdir -p /var/www/.config
|
||||
[ -d /var/www/.config ] && sudo chown -R www-data: /var/www/.config
|
||||
|
||||
|
@ -13,7 +13,7 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
php composer-setup.php
|
||||
php composer-setup.php --install-dir=bin
|
||||
RESULT=$?
|
||||
rm composer-setup.php
|
||||
exit $RESULT
|
@ -15,7 +15,7 @@ stderr_logfile_maxbytes=0
|
||||
|
||||
[program:apache2]
|
||||
environment=HOSTNAME="%(ENV_HOSTNAME)s"
|
||||
command = apachectl -D "FOREGROUND" -k start
|
||||
command = apachectl -D "FOREGROUND"
|
||||
directory = /loginapp
|
||||
user = root
|
||||
autostart = true
|
||||
@ -26,7 +26,7 @@ stderr_logfile_maxbytes=0
|
||||
|
||||
[program:php-fpm]
|
||||
environment=HOSTNAME="%(ENV_HOSTNAME)s"
|
||||
command = /usr/sbin/php-fpm8.1 -F -R
|
||||
command = /usr/sbin/php-fpm7.4 -F
|
||||
autostart = true
|
||||
autorestart = true
|
||||
directory = /loginapp
|
||||
|
@ -3,12 +3,10 @@ daemonize=no
|
||||
error_log=/dev/stderr
|
||||
|
||||
[www]
|
||||
|
||||
user = www-data
|
||||
group = www-data
|
||||
|
||||
listen = /run/php/php8.1-fpm.sock
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
listen = /run/php/php7.4-fpm.sock
|
||||
|
||||
listen.owner = www-data
|
||||
listen.group = www-data
|
||||
@ -19,4 +17,4 @@ pm.max_children = 5
|
||||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 3
|
||||
catch_workers_output = yes
|
||||
catch_workers_output = yes
|
@ -1,4 +1,4 @@
|
||||
version: "3.8"
|
||||
version: "2.4"
|
||||
services:
|
||||
loginapp:
|
||||
container_name: loginapp
|
||||
|
@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\ErrorHandler\Debug;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
Debug::enable();
|
||||
|
||||
$kernel = new AppKernel('dev', true);
|
||||
if (PHP_VERSION_ID < 70000) {
|
||||
$kernel->loadClassCache();
|
||||
}
|
||||
Request::setTrustedProxies(['192.168.0.0/24'], Request::HEADER_X_FORWARDED_ALL);
|
||||
$request = Request::createFromGlobals();
|
||||
$response = $kernel->handle($request);
|
||||
$response->send();
|
||||
$kernel->terminate($request, $response);
|
300
supervisord.log
300
supervisord.log
@ -3712,3 +3712,303 @@
|
||||
2022-04-07 11:39:06,066 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 11:39:06,068 INFO spawned: 'php-fpm' with pid 119
|
||||
2022-04-07 11:39:07,096 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:25:28,978 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:25:28,984 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:25:28,984 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:25:28,985 INFO supervisord started with pid 26
|
||||
2022-04-07 12:25:29,990 INFO spawned: 'apache2' with pid 28
|
||||
2022-04-07 12:25:29,992 INFO spawnerr: can't find command '/usr/sbin/php7.4-fpm'
|
||||
2022-04-07 12:25:29,997 INFO spawned: 'rsyslog' with pid 29
|
||||
2022-04-07 12:25:31,151 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:25:31,152 INFO spawnerr: can't find command '/usr/sbin/php7.4-fpm'
|
||||
2022-04-07 12:25:31,153 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:25:33,156 INFO spawnerr: can't find command '/usr/sbin/php7.4-fpm'
|
||||
2022-04-07 12:25:36,161 INFO spawnerr: can't find command '/usr/sbin/php7.4-fpm'
|
||||
2022-04-07 12:25:36,161 INFO gave up: php-fpm entered FATAL state, too many start retries too quickly
|
||||
2022-04-07 12:27:53,847 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:27:53,853 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:27:53,853 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:27:53,853 INFO supervisord started with pid 12
|
||||
2022-04-07 12:27:54,858 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:27:54,866 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:27:54,872 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:27:56,010 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:27:56,010 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:27:56,010 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:27:56,011 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:27:57,017 INFO spawned: 'php-fpm' with pid 84
|
||||
2022-04-07 12:27:58,148 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:27:58,148 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:27:59,154 INFO spawned: 'php-fpm' with pid 85
|
||||
2022-04-07 12:28:00,282 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:00,283 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:01,288 INFO spawned: 'php-fpm' with pid 86
|
||||
2022-04-07 12:28:02,414 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:02,415 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:03,420 INFO spawned: 'php-fpm' with pid 87
|
||||
2022-04-07 12:28:04,541 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:04,542 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:05,547 INFO spawned: 'php-fpm' with pid 88
|
||||
2022-04-07 12:28:06,664 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:06,664 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:07,670 INFO spawned: 'php-fpm' with pid 89
|
||||
2022-04-07 12:28:08,788 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:08,788 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:09,795 INFO spawned: 'php-fpm' with pid 90
|
||||
2022-04-07 12:28:10,921 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:10,922 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:11,927 INFO spawned: 'php-fpm' with pid 91
|
||||
2022-04-07 12:28:13,051 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:13,052 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:14,057 INFO spawned: 'php-fpm' with pid 92
|
||||
2022-04-07 12:28:15,176 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:15,177 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:16,182 INFO spawned: 'php-fpm' with pid 93
|
||||
2022-04-07 12:28:17,314 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:17,315 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:18,321 INFO spawned: 'php-fpm' with pid 94
|
||||
2022-04-07 12:28:19,435 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:19,435 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:20,440 INFO spawned: 'php-fpm' with pid 95
|
||||
2022-04-07 12:28:21,566 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:21,567 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:22,573 INFO spawned: 'php-fpm' with pid 96
|
||||
2022-04-07 12:28:23,698 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:23,698 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:24,704 INFO spawned: 'php-fpm' with pid 97
|
||||
2022-04-07 12:28:25,832 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:25,833 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:26,839 INFO spawned: 'php-fpm' with pid 98
|
||||
2022-04-07 12:28:27,984 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:27,985 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:28,992 INFO spawned: 'php-fpm' with pid 99
|
||||
2022-04-07 12:28:30,123 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:30,124 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:31,129 INFO spawned: 'php-fpm' with pid 100
|
||||
2022-04-07 12:28:32,251 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:32,251 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:33,257 INFO spawned: 'php-fpm' with pid 101
|
||||
2022-04-07 12:28:34,386 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:34,387 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:35,391 INFO spawned: 'php-fpm' with pid 102
|
||||
2022-04-07 12:28:36,509 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:36,509 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:37,514 INFO spawned: 'php-fpm' with pid 103
|
||||
2022-04-07 12:28:38,637 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:38,638 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:39,643 INFO spawned: 'php-fpm' with pid 104
|
||||
2022-04-07 12:28:40,764 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:40,764 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:41,770 INFO spawned: 'php-fpm' with pid 105
|
||||
2022-04-07 12:28:42,904 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:42,904 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:43,910 INFO spawned: 'php-fpm' with pid 106
|
||||
2022-04-07 12:28:45,074 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:45,074 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:46,079 INFO spawned: 'php-fpm' with pid 107
|
||||
2022-04-07 12:28:47,204 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:47,205 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:48,210 INFO spawned: 'php-fpm' with pid 108
|
||||
2022-04-07 12:28:49,337 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:49,337 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:50,343 INFO spawned: 'php-fpm' with pid 109
|
||||
2022-04-07 12:28:51,471 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:51,472 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:52,478 INFO spawned: 'php-fpm' with pid 110
|
||||
2022-04-07 12:28:53,588 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:53,588 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:54,594 INFO spawned: 'php-fpm' with pid 111
|
||||
2022-04-07 12:28:55,718 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:55,718 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:56,724 INFO spawned: 'php-fpm' with pid 112
|
||||
2022-04-07 12:28:57,856 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:57,857 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:28:58,862 INFO spawned: 'php-fpm' with pid 113
|
||||
2022-04-07 12:28:59,979 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:28:59,979 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:00,984 INFO spawned: 'php-fpm' with pid 114
|
||||
2022-04-07 12:29:02,103 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:02,104 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:03,107 INFO spawned: 'php-fpm' with pid 115
|
||||
2022-04-07 12:29:04,221 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:04,222 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:05,227 INFO spawned: 'php-fpm' with pid 116
|
||||
2022-04-07 12:29:06,341 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:06,342 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:07,347 INFO spawned: 'php-fpm' with pid 117
|
||||
2022-04-07 12:29:08,467 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:08,467 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:09,472 INFO spawned: 'php-fpm' with pid 118
|
||||
2022-04-07 12:29:10,588 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:10,588 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:11,591 INFO spawned: 'php-fpm' with pid 119
|
||||
2022-04-07 12:29:12,653 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:12,654 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:13,657 INFO spawned: 'php-fpm' with pid 120
|
||||
2022-04-07 12:29:52,871 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:29:52,876 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:29:52,876 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:29:52,877 INFO supervisord started with pid 12
|
||||
2022-04-07 12:29:53,882 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:29:53,889 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:29:53,895 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:29:54,046 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:55,049 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:55,053 INFO spawned: 'php-fpm' with pid 84
|
||||
2022-04-07 12:29:55,053 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:56,173 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:56,173 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:57,179 INFO spawned: 'php-fpm' with pid 85
|
||||
2022-04-07 12:29:58,299 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:29:58,300 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:29:59,305 INFO spawned: 'php-fpm' with pid 86
|
||||
2022-04-07 12:30:00,418 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:00,418 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:01,424 INFO spawned: 'php-fpm' with pid 87
|
||||
2022-04-07 12:30:02,554 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:02,554 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:03,560 INFO spawned: 'php-fpm' with pid 88
|
||||
2022-04-07 12:30:04,678 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:04,678 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:05,684 INFO spawned: 'php-fpm' with pid 89
|
||||
2022-04-07 12:30:06,803 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:06,803 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:07,809 INFO spawned: 'php-fpm' with pid 90
|
||||
2022-04-07 12:30:08,944 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:08,945 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:09,950 INFO spawned: 'php-fpm' with pid 91
|
||||
2022-04-07 12:30:11,078 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:11,078 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:12,083 INFO spawned: 'php-fpm' with pid 92
|
||||
2022-04-07 12:30:13,207 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:13,207 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:14,212 INFO spawned: 'php-fpm' with pid 93
|
||||
2022-04-07 12:30:15,331 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:15,331 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:16,336 INFO spawned: 'php-fpm' with pid 94
|
||||
2022-04-07 12:30:17,460 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:17,461 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:18,466 INFO spawned: 'php-fpm' with pid 95
|
||||
2022-04-07 12:30:19,590 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:19,591 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:20,596 INFO spawned: 'php-fpm' with pid 96
|
||||
2022-04-07 12:30:21,730 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:21,730 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:22,736 INFO spawned: 'php-fpm' with pid 97
|
||||
2022-04-07 12:30:23,865 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:23,865 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:24,871 INFO spawned: 'php-fpm' with pid 98
|
||||
2022-04-07 12:30:25,989 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:25,990 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:26,995 INFO spawned: 'php-fpm' with pid 99
|
||||
2022-04-07 12:30:28,122 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:28,123 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:29,128 INFO spawned: 'php-fpm' with pid 100
|
||||
2022-04-07 12:30:30,246 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:30,246 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:31,252 INFO spawned: 'php-fpm' with pid 101
|
||||
2022-04-07 12:30:32,369 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:32,369 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:33,375 INFO spawned: 'php-fpm' with pid 102
|
||||
2022-04-07 12:30:34,491 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:34,492 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:35,497 INFO spawned: 'php-fpm' with pid 103
|
||||
2022-04-07 12:30:36,616 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:36,616 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:37,621 INFO spawned: 'php-fpm' with pid 104
|
||||
2022-04-07 12:30:38,742 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:30:38,743 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:30:39,748 INFO spawned: 'php-fpm' with pid 105
|
||||
2022-04-07 12:33:32,117 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:33:32,123 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:33:32,123 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:33:32,123 INFO supervisord started with pid 12
|
||||
2022-04-07 12:33:33,129 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:33:33,136 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:33:33,142 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:33:33,298 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:33:34,300 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:33:34,303 INFO spawned: 'php-fpm' with pid 84
|
||||
2022-04-07 12:33:34,305 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:33:35,434 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:33:35,435 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:33:36,440 INFO spawned: 'php-fpm' with pid 85
|
||||
2022-04-07 12:33:37,559 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:33:37,559 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:33:38,564 INFO spawned: 'php-fpm' with pid 86
|
||||
2022-04-07 12:33:39,684 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:33:39,685 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:33:40,690 INFO spawned: 'php-fpm' with pid 87
|
||||
2022-04-07 12:33:40,806 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:33:41,812 INFO spawned: 'php-fpm' with pid 88
|
||||
2022-04-07 12:33:42,941 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:33:42,942 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:33:43,948 INFO spawned: 'php-fpm' with pid 89
|
||||
2022-04-07 12:33:45,051 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:33:45,051 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:33:46,056 INFO spawned: 'php-fpm' with pid 90
|
||||
2022-04-07 12:33:47,189 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:33:47,189 INFO exited: php-fpm (exit status 78; not expected)
|
||||
2022-04-07 12:33:48,194 INFO spawned: 'php-fpm' with pid 91
|
||||
2022-04-07 12:35:35,382 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:35:35,389 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:35:35,389 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:35:35,389 INFO supervisord started with pid 12
|
||||
2022-04-07 12:35:36,394 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:35:36,400 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:35:36,404 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:35:37,564 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:35:37,565 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:35:37,565 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:37:30,659 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:37:30,665 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:37:30,665 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:37:30,666 INFO supervisord started with pid 12
|
||||
2022-04-07 12:37:31,670 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:37:31,676 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:37:31,681 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:37:32,841 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:37:32,841 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:37:32,842 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:41:38,280 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:41:38,590 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:41:38,591 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:41:38,592 INFO supervisord started with pid 12
|
||||
2022-04-07 12:41:39,597 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:41:39,602 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:41:39,607 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:41:39,632 INFO exited: rsyslog (exit status 1; not expected)
|
||||
2022-04-07 12:41:40,767 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:41:40,768 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:41:40,771 INFO spawned: 'rsyslog' with pid 77
|
||||
2022-04-07 12:41:41,795 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:51:45,219 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:51:45,224 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:51:45,225 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:51:45,225 INFO supervisord started with pid 12
|
||||
2022-04-07 12:51:46,230 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:51:46,235 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:51:46,240 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:51:47,390 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:51:47,390 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:51:47,391 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:54:36,731 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:54:36,738 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:54:36,738 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:54:36,739 INFO supervisord started with pid 12
|
||||
2022-04-07 12:54:37,744 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:54:37,750 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:54:37,755 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:54:38,895 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:54:38,895 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:54:38,895 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:57:39,415 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
|
||||
2022-04-07 12:57:39,420 INFO RPC interface 'supervisor' initialized
|
||||
2022-04-07 12:57:39,420 CRIT Server 'unix_http_server' running without any HTTP authentication checking
|
||||
2022-04-07 12:57:39,420 INFO supervisord started with pid 12
|
||||
2022-04-07 12:57:40,425 INFO spawned: 'apache2' with pid 14
|
||||
2022-04-07 12:57:40,431 INFO spawned: 'php-fpm' with pid 15
|
||||
2022-04-07 12:57:40,435 INFO spawned: 'rsyslog' with pid 16
|
||||
2022-04-07 12:57:41,576 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:57:41,576 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
2022-04-07 12:57:41,576 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
|
||||
|
@ -1 +1 @@
|
||||
28
|
||||
12
|
||||
|
@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\ErrorHandler\Debug;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
Debug::enable();
|
||||
|
||||
$kernel = new AppKernel('dev', true);
|
||||
if (PHP_VERSION_ID < 70000) {
|
||||
$kernel->loadClassCache();
|
||||
}
|
||||
Request::setTrustedProxies(['192.168.0.0/24'], Request::HEADER_X_FORWARDED_ALL);
|
||||
$request = Request::createFromGlobals();
|
||||
$response = $kernel->handle($request);
|
||||
$response->send();
|
||||
$kernel->terminate($request, $response);
|
Loading…
Reference in New Issue
Block a user