Displaying 4 results from an estimated 4 matches for "php_error_log".
2017 Aug 08
2
Troubleshooting php-fpm with apache on Centos 7
...o/www"
ServerName www.greekgeo.noa.gr
ServerAdmin webmaster at noa.gr
DirectoryIndex index.php index.html index.htm
php_flag log_errors on
php_flag display_errors off
php_value error_log /var/webs/wwwgreekgeo/log/php_error_log
# php_value error_reporting 32767
# php_value error_reporting 2147483647
php_value error_reporting 6135
Redirect 301 /en.index.html http://www.greekgeo.noa.gr/wp/
RewriteEngine on
RedirectMatch ^/index.html$ /wp/...
2010 Jul 30
3
Redirecting PHP error messages into a log file
Hello,
I'm using CentOS release 5.5 x86_64 with the stock php-5.1.6-27.el5
and would like to redirect PHP messages into /var/log/httpd/php_log
First I tried adding that file name to /etc/php.ini:
error_log = "/var/log/httpd/php_log"
and restarted httpd, but the file didn't appear.
I've touched it and changed owner to apache.apache,
but that didn't help.
Then I've
2017 Aug 08
0
Troubleshooting php-fpm with apache on Centos 7
On 8/7/2017 10:52 PM, Nikolaos Milas wrote:
> As you can see, I have made efforts to enable php debugging, but I
> still can't see any php logging, in any php log:
>
> /var/log/php-fpm/error.log
> /var/log/php-fpm/www-error.log
> The file: /var/webs/wwwgreekgeo/log/php_error_log remains empty
does the user apache is running as have write access to that folder ?
--
john r pierce, recycling bits in santa cruz
2017 Aug 08
1
Troubleshooting php-fpm with apache on Centos 7
On 8/8/2017 8:57 ??, John R Pierce wrote:
> does the user apache is running as have write access to that folder ?
Thank you for your reply, John.
Yes, there is write access:
# ls -l /var/webs/wwwgreekgeo/log/php*
-rw-rw---- 1 root apache 0 Aug 7 22:58
/var/webs/wwwgreekgeo/log/php_error_log
# ls -l /var/webs/wwwgreekgeo/
total 8
drwxrwx--- 2 wftpuser apache 4096 Aug 8 03:46 log
drwxrwx--- 10 wftpuser apache 4096 Dec 5 2014 www
For your reference, I am also including the php-fpm configuration:
# cat /etc/php-fpm.d/www.conf
include=/etc/php-fpm.d/*.conf
[global]...