Re: [users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-08 Thread Daniel
It is a php issue, can't tell you much about it.. php-fpm belongs to php.net. In case nobody else can assist you here, the php community will probably help you better regarding php issues. 2017-08-08 13:04 GMT+02:00 Nikolaos Milas : > On 8/8/2017 1:55 μμ, Nikolaos Milas wrote: >

Re: [users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-08 Thread Nikolaos Milas
On 8/8/2017 1:55 μμ, Nikolaos Milas wrote: Any ideas? In case this helps, here: http://iweb.noa.gr/files/phpinfo.htm you can find the php info page of the server. Nick - To unsubscribe, e-mail:

Re: [users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-08 Thread Nikolaos Milas
On 8/8/2017 1:27 μμ, Daniel wrote: namei -mol /var/log/php-fpm/wwwdebug-error.log (Actually it is www-error.log). Here you are: # namei -mol /var/log/php-fpm/www-error.log f: /var/log/php-fpm/www-error.log dr-xr-xr-x root root / drwxr-xr-x root root var drwxr-xr-x root

Re: [users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-08 Thread Daniel
Like I mentioned earlier, check the permissions of the target directory namei -mol /var/log/php-fpm/wwwdebug-error.log or namei -mx /var/log/php-fpm/wwwdebug-error.log 2017-08-08 11:58 GMT+02:00 Nikolaos Milas : > On 8/8/2017 11:43 πμ, Daniel wrote: > >> about php configurations,

Re: [users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-08 Thread Nikolaos Milas
On 8/8/2017 11:43 πμ, Daniel wrote: about php configurations, yes, just define them in each pool and create one pool for each different case you need, that's what php-fpm is all about. But, with my current settings (file php-fpm.d/www.conf), php logging is *already enabled*, so shouldn't I

Re: [users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-08 Thread Daniel
yes, php values can't be defined in apache config, you define them in the fpm pool. IIRC the php-fpm error logs get written with the user the fpm pool has defined, in your case "apache" should have write permissions in the /var/log/php-fpm/ to be able to write www-error.log. about php

Re: [users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-08 Thread Nikolaos Milas
On 8/8/2017 9:47 πμ, Daniel wrote: php_ directives belong to "mod_php" if you are proxying to php-fpm through fastcgi all related php logging and defined variables belong in the corresponding FPM pool. I would start by seeing what php-fpm has to say about those connections. Thank you Daniel,

Re: [users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-08 Thread Daniel
php_ directives belong to "mod_php" if you are proxying to php-fpm through fastcgi all related php logging and defined variables belong in the corresponding FPM pool. I would start by seeing what php-fpm has to say about those connections. 2017-08-08 7:47 GMT+02:00 Nikolaos Milas

[users@httpd] Cannot troubleshoot php-fpm with apache

2017-08-07 Thread Nikolaos Milas
Hello, I am running httpd-2.4.6-45.el7.centos.x86_64 with php-fpm-7.0.22-1.el7.remi.x86_64 (on CentOS 7). My main problem: On this httpd server I have several vhosts running, but apparently I am facing intermittent problems with php-fpm communication on only one of them. Most of the sites