PHP error logs
I'm trying to setup PHP error log handling to save logs in the dir where the error script file is.
I have read about the error log settings in php.ini, and how to turn on and off for system logs, to-screen logs and per directory where the error script was.
But for the per-directory logs, all the info seems to state to put in a complete path of where to save the error logs, which isn't of course possible as I don't know in whose account or directory the error script will be.
So how do I go about making PHP save an error log in the directory where the script with the error is?
Details of the system:
vhosts by virtuozzo
php 5.2.6 in CLI mode as a module
suphp is the handler for PHP
(mod_suphp.so installed and working)