Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
f77dab0b
Commit
f77dab0b
authored
Feb 24, 2020
by
Dominik Hebeler
Browse files
fixed logging for php errors
parent
d0e508b4
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
f77dab0b
...
...
@@ -29,9 +29,10 @@ RUN apk add --update \
WORKDIR
/html
RUN
sed
-i
's/;error_log = log\/php7\/error.log/error_log = \/dev\/std
out
/g'
/etc/php7/php-fpm.conf
&&
\
RUN
sed
-i
's/;error_log = log\/php7\/error.log/error_log = \/dev\/std
err
/g'
/etc/php7/php-fpm.conf
&&
\
sed
-i
's/;daemonize = yes/daemonize = no/g'
/etc/php7/php-fpm.conf
&&
\
sed
-i
's/listen = 127.0.0.1:9000/listen = 9000/g'
/etc/php7/php-fpm.d/www.conf
&&
\
sed
-i
's/;decorate_workers_output = no/decorate_workers_output = no/g'
/etc/php7/php-fpm.d/www.conf
&&
\
sed
-i
's/;catch_workers_output = yes/catch_workers_output = yes/g'
/etc/php7/php-fpm.d/www.conf
&&
\
sed
-i
's/user = nobody/user = nginx/g'
/etc/php7/php-fpm.d/www.conf
&&
\
sed
-i
's/group = nobody/group = nginx/g'
/etc/php7/php-fpm.d/www.conf
&&
\
...
...
DockerfileDev
View file @
f77dab0b
...
...
@@ -29,9 +29,10 @@ RUN apk add --update \
WORKDIR /html
RUN sed -i 's/;error_log = log\/php7\/error.log/error_log = \/dev\/std
out
/g' /etc/php7/php-fpm.conf && \
RUN sed -i 's/;error_log = log\/php7\/error.log/error_log = \/dev\/std
err
/g' /etc/php7/php-fpm.conf && \
sed -i 's/;daemonize = yes/daemonize = no/g' /etc/php7/php-fpm.conf && \
sed -i 's/listen = 127.0.0.1:9000/listen = 9000/g' /etc/php7/php-fpm.d/www.conf && \
sed -i 's/;decorate_workers_output = no/decorate_workers_output = no/g' /etc/php7/php-fpm.d/www.conf && \
sed -i 's/;catch_workers_output = yes/catch_workers_output = yes/g' /etc/php7/php-fpm.d/www.conf && \
sed -i 's/user = nobody/user = nginx/g' /etc/php7/php-fpm.d/www.conf && \
sed -i 's/group = nobody/group = nginx/g' /etc/php7/php-fpm.d/www.conf && \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment