httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolaos Milas <nmi...@noa.gr>
Subject Re: [users@httpd] Cannot troubleshoot php-fpm with apache
Date Tue, 08 Aug 2017 10:55:39 GMT
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   root   log
    drwxrwx--- apache root   php-fpm
    -rw-r--r-- apache apache www-error.log

Latest information about the case:

I now once more browsed the above file (namei -mol 
/var/log/php-fpm/www-error.log) and I found one single PHP entry about 
this website, with the following content:

----------------------------------------------------------------------------------------------
...
[08-Aug-2017 05:11:45 Europe/Athens] PHP Fatal error: Uncaught Error: 
Call to undefined function get_header() in 
/var/webs/wwwgreekgeo/www/wp/wp-content/themes/nirvana/404.php:10
Stack trace:
#0 {main}
   thrown in 
/var/webs/wwwgreekgeo/www/wp/wp-content/themes/nirvana/404.php on line 10
[08-Aug-2017 05:11:45 Europe/Athens] PHP Fatal error:  Uncaught Error: 
Call to undefined function get_header() in 
/var/webs/wwwgreekgeo/www/wp/wp-content/themes/nirvana/404.php:10
Stack trace:
#0 {main}
   thrown in 
/var/webs/wwwgreekgeo/www/wp/wp-content/themes/nirvana/404.php on line 10
...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

So, even this one entry means that THERE IS (at least some) PHP logging 
about this website!

But: Why there is only one entry about this website? Why there is no 
other error logged? Could php-fpm somehow be "blacklisting" the website 
PHP application (WordPress) due to this (and possible other) errors? Why 
no debugging info is constantly logged?

Any ideas?

Thanks,
Nick


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message