tags:

views:

689

answers:

1
+1  A: 

Have you tried in the php file itself?

error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 0);
ini_set('log_errors', 1);
ini_set('error_log', "c:/php5/log/php.log");

Update: The problem is that you are using a bitwise AND where you should use a bitwise OR

Try this

var_dump(E_ALL);
var_dump(E_STRICT);
var_dump(E_ALL | E_STRICT);
var_dump(E_ALL & E_STRICT);

output: int(6143) int(2048) int(8191) int(0)

So basically you are writing

error_reporting  =  0

Effectively turning off the error reporting. Chang the & for an | in your php.ini and you should be ok.

The Disintegrator
Kind of misses the point of having in the INI file, but I'll try it.
hapes
That logged the errors, at least.
hapes
php is a bitch sometimes...
The Disintegrator
The Disintegrator
That was it, thank you very much! Of course, it didn't log an error related to the initial problem, but that's a security issue I have to figure out, not related to the error log.
hapes
An interesting side note: I just uncommented the line, so the initial PHP.ini file had it wrong.
hapes