0
votes
1answer
617 views

How to check web server logs for SQL injection?

If I have a PHP site hosted on Apache and someone hacks it using SQL injection, is there a way I can find out exactly which script caused this by looking at my web server logs? Or using some other ...
0
votes
3answers
388 views

Grant PHP script read write access

How do I grant a PHP script access to read and write log files in the /var/log/ and /var/ directories?
0
votes
2answers
289 views

Apache2 PHP Notice errors logged

My /var/log/apache2/error.log is filling up about 1GB per hour with PHP Notice errors. I've tried adding this: /apache2.conf php_value error_log none And in my /cgi/php.ini: error_reporting = ...
0
votes
1answer
550 views

error_reporting showing unwanted NOTICE logs

I am getting following notices in php errorlog file. [10-Mar-2011 13:58:39] PHP Notice: require_once() [<a href='function.require-once'>function.require-once</a>]: 1. ...
3
votes
1answer
3k views

How to stop mod_deflate from logging to my php error log?

I have an environment setup on a system I am not in control of and mod_deflate is entering about 3 lines in the error log for every request. They are only the debug level but for some reason the ...
1
vote
1answer
775 views

Trace an email messages route?

We have some PHP applications which handle internal communication with staff via email. From time to time a staff member claims they did not receive the email. The system BCC's or CC's me on all ...
0
votes
3answers
3k views

error in php not logging or displaying

I can not get any errors to display on screen on write to a log file. When check phpinfo() print out I have same value of master a local for display_errors On display_startup_errors On error_log ...
1
vote
1answer
1k views

Apache Custom Log Format

I am trying to write a reward system wherein users will be given reward points if they download complete files, So what should be my log format. After searching alot this is what I understand its my ...
0
votes
1answer
710 views

Flushing / Erase PHP Error log on Windows IIS

I have an IIS server that I'm working on. There's a file at C:\Windows\Temp\php-errors.log that I'm using to debug some 500 errors. After abusing the usage a bit (wrote out a bunch of debug output to ...
4
votes
3answers
2k views

Centralizing PHP error logging with syslog

I have a PHP application that is running on 20 web servers. It's silly to check every servers' PHP error log. I'm planning to centralize the error logging on one (not a web server, a server just used ...
0
votes
1answer
89 views

PHP's open_basedir value giving a binary value in Apache logs

Reviewing logfiles to figure out why my site was down a few days ago, I found hundreds of lines like these (partially redacted with "x"): [Fri Nov 27 23:14:36 2009] [error] [client ...
2
votes
1answer
4k views

PHP via FastCGI: “terminated by calling exit()”

I've recently converted my server from a mod_php setup to a php via mod_fcgid setup. Everything works well: it's fast, easy, doesn't crash, etc etc etc. The problem that I'm having is that the log ...
13
votes
2answers
30k views

How can I display and log PHP errors on IIS7?

We're running PHP 5.2.5 on an IIS 7 Server and we're having problems making PHP errors visible... At the moment whenever we have a PHP error the server sends back a 500 error with the message "The ...