Subject: Re: [[email protected]] Cannot troubleshoot php-fpm with
apache



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: [email protected]
For additional commands, e-mail: [email protected]



Programming list archiving by: Enterprise Git Hosting