you've
> >> already affected its position. Although, unlike a quark, you can create
> a
> >> copy of the log file ;)
> >>
> >> Ash
> >> www.ashleysheridan.co.uk
> >>
> >>
> >> -- Forwarded message --
&
een
> offline, so I've not run into this problem before.
>
> Ash
> www.ashleysheridan.co.uk
>
>
> -- Forwarded message --
> From: "sean greenslade" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Fri, 22 Aug 2008 10:13:37 -0400
sean greenslade" <[EMAIL PROTECTED]>
>> To: php-general@lists.php.net
>> Date: Fri, 22 Aug 2008 10:04:07 -0400
>> Subject: Re: Fwd: [PHP] php not reading file properly
>> Yeah, I tried changing the perms, and that didn't work. I originally made
>> the cr
--
> From: "sean greenslade" <[EMAIL PROTECTED]>
> To: php-general@lists.php.net
> Date: Fri, 22 Aug 2008 10:04:07 -0400
> Subject: Re: Fwd: [PHP] php not reading file properly
> Yeah, I tried changing the perms, and that didn't work. I originally made
> the cron job put t
-- Forwarded message --
> From: "sean greenslade" <[EMAIL PROTECTED]>
> To: php-general@lists.php.net
> Date: Fri, 22 Aug 2008 10:04:07 -0400
> Subject: Re: Fwd: [PHP] php not reading file properly
> Yeah, I tried changing the perms, and that didn't work. I
gt;
> To: php-general@lists.php.net
> Date: Fri, 22 Aug 2008 02:31:47 -0400
> Subject: Re: Fwd: [PHP] php not reading file properly
> So I made a cron jop to copy the log to the web folder every 5 minutes.
> That
> worked fine. It seems that php can't read the /var/log
> To: php-general@lists.php.net
> Date: Fri, 22 Aug 2008 02:31:47 -0400
> Subject: Re: Fwd: [PHP] php not reading file properly
> So I made a cron jop to copy the log to the web folder every 5 minutes.
> That
> worked fine. It seems that php can't read the /var/log/httpd fol
d to it so that it doesn't interfere with Apache
> accessing things.
>
> Ash
> www.ashleysheridan.co.uk
>
>
> -- Forwarded message --
> From: "sean greenslade" <[EMAIL PROTECTED]>
> To: "Micah Gersten" <[EMAIL PROTECTED]>
&
't interfere with Apache
> accessing things.
>
> Ash
> www.ashleysheridan.co.uk
>
>
> -- Forwarded message --
> From: "sean greenslade" <[EMAIL PROTECTED]>
> To: "Micah Gersten" <[EMAIL PROTECTED]>
> Date: Wed, 20 Aug 2008 19
Yeah, Apache is still running, but it is the access log you are trying
to read, at the same time that you are Apache is being accessed.
Accessing the log from the terminal will be fine while Apache is
running, as it is unlikely it is being accessed at the very same
instant. Are you able to access o
Ashley Sheridan wrote:
>As it's the Apache access log that you are trying to read in, are you sure
that Apache is >not in the process of writing to it as you are
attempting to read from it? That might explain >why it seems to be empty,
although I would have thought it would just append the d
As it's the Apache access log that you are trying to read in, are you
sure that Apache is not in the process of writing to it as you are
attempting to read from it? That might explain why it seems to be empty,
although I would have thought it would just append the data to the end
of the file, rathe
If the directory above it doesn't have execute privileges, it won't be
able to read it either.
Also, why not use the PHP5 function file_get_contents()?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
sean greenslade wrote:
> Thanks for the advice. I changed t
13 matches
Mail list logo