nginx - PHP-FPM doesn't write to custom error log specified in pool -


i've used ondrej/php repo setup wordpress sites running on php7, phpmyadmin won't except white-screen despite saying it's php7-compatible.

clearly solution lies finding error php throwing, can't write fpm log.

i've followed php-fpm doesn't write error log , php-fpm 1 error log file per pool , here's config based on answers offered:

php/7.0/fpm/pool.d/phpma.conf

user = phpma group = phpma listen = /run/php/phpma.sock listen.owner = www-data listen.group = www-data listen.mode = 0660 catch_workers_output = yes 

part of /etc/nginx/sites-available/phpmyadmin.conf:

fastcgi_pass unix:/run/php/phpma.sock; access_log   /var/log/nginx/phpmyadmin.access.log; error_log    /var/log/nginx/phpmyadmin.error.log error; 

phpinfo shows:

php version         7.0.7-2+donate.sury.org~wily+1 display_errors      on  error_log           /var/log/php-fpm.phpma.log log_errors          on  log_errors_max_len  1024 

the nginx access log being written fine , is:

-rw-r-----  1 www-data adm         803 may 28 15:16 phpmyadmin.access.log 

the php7 fpm log main www pool being written ok:

-rw-------  1 root     root              1023 may 28 14:25 php7.0-fpm.log 

but php-fpm log wish use isn't being written to:

-rw-r--r--  1 www-data www-data             0 may 19 10:31 php-fpm.phpma.log 

i've tried chowning log file phpma user , group. i've restarted , looked errors elsewhere i've drawn blank. ideas? thanks.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -