Thank you Clayton for the replay, I have installed php syslogng under
/var/www/html/
I have to change this
$basePath = dirname( __FILE__ );
To
$basePath = /var/www/html/config/config.php;
????????
_____
From: Clayton Dukes [mailto:[EMAIL PROTECTED]
Sent: Monday, October 01, 2007 11:09 PM
To: Gabriel Rosca
Cc: [email protected];
[EMAIL PROTECTED]
Subject: Re: [Php-syslog-ng-support] Log Rotate PHP script error
Edit the logrotate.php file and fix the path to your config file :-)
On 10/1/07, Gabriel Rosca <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> wrote:
Hi guys. I am not familiar with php or mysql but I want to make this works.
I have the default script. Here is the error that I get.
php logrotate.php
Starting logrotate
2007-10-01 22:40:50
Starting logrotate
2007-10-01 22:40:50Error in perform_query function: No DB linkUnknown MySQL
server host 'DBHOST' (1)
Thank you
Gabriel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support
--
______________________________________________________________
Clayton Dukes
______________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support