Answer the question
In order to leave comments, you need to log in
Php5-fpm not showing logs?
Hello everyone, I'm trying to run bitrix on php5-fpm and nginx.
Explain how and where php generates the error log?
I get a 500 error, the nginx error logs are empty, the access log with a 500 response.
Nothing in the php-fpm logs either.
nginx config:
upstream site {server unix:/var/run/php5-site.sock;}<br><br>
server {<br>
listen 80;<br>
server_name site.ru;<br><br>
access_log /var/log/nginx/site.access.log;<br>
error_log /var/log/nginx/site.error.log;<br><br>
root /var/www/site/;<br>
index index.php;<br><br>
location ~ \.php$ {<br>
fastcgi_pass site;<br>
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br>
include fastcgi_params;<br>
}<br>
}<br>
[newjourn]<br>
listen = /var/run/php5-site.sock<br>
listen.mode = 0666<br>
user = site<br>
group = site<br>
chdir = /var/www/site<br>
php_admin_value[error_log] = /var/log/php5-fpm.log<br>
php_admin_flag[log_errors] = on<br>
catch_workers_output = yes<br><br>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question