Re: Cannot troubleshoot php-fpm with apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux