PEAR_Log

From: Date: Thu, 16 Feb 2006 06:21:19 +0000
Subject: PEAR_Log
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23010@lists.php.net to get a copy of this message
hello! just installed Log package and heaving warning: ====================================================== Warning: fwrite(): supplied argument is not a valid stream resource in /usr/share/php/Log/console.php on line 193 Warning: fopen(out.log) [function.fopen]: failed to open stream: Permission denied in /usr/share/php/Log/file.php on line 228 ====================================================== caused by: ====================================================== require_once 'Log.php'; $console = &Log::factory('console', '', 'TEST'); $console->log('Logging to the console.'); $file = &Log::factory('file', 'out.log', 'TEST'); $file->log('Logging to out.log.'); ====================================================== where do i set write permissions? -- Regards, Roman

« previous php.pear.general (#23010) next »