Re: [PHP] Re: What the hell?!?!

2002-01-01 Thread LaserJetter

Nice one, thanks! I forgot about using the more command!!



"David Jackson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> copy php.log php.txt, now you have a static log to look at.
> then do "more php.txt" this will display a screen at a time,hitting

> goes to the next screen.
>
> To do more advanced work with text files goto:
> http://simtel.net "gnuish" directory and download "gawk" and "grep",
mainly
> grep, NOTE: using grep is O.T. for this forum, but you in a nutshell,
> the command string would look this: grep -i seach_string filename |more
> or grep -i "fatal* filename |more, you get the idea.
>
>
> > I need a program which will let me open it!
> > Using notepat just runs wordpad which wont let me scroll down to see
> > what it says because it's still processing the file.
> > Internet explorer didnt work and MS-DOS editor just said "Out of
> > memory" and closed on me
> > Never mind!
> >
> >
> >
> > "Laserjetter" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >> I've just been preparing a site for upload from my local test server
> >> to
> > the
> >> net and have come accross a php.error.log file which was 13.4Mb! I'm
> >> using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading
> > to
> >> 4.1 PHP
> >> has been creating these error log files all over the place. Does
> >> anyone
> > know
> >> what to change in php.ini to stop it doing this?
> >> Also, apart from my coding being rubbish and causing lots of errors,
> >> does anyone know of any reason why an error log file would grow to
> >> such a huge size? The page has onle been accessed a few times and I
> >> can't think of any way a single page could create 1Mb of error text on
> >> each hit.
> >>
> >> LJ
> >>
> >>
> >>
> >>
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> > [EMAIL PROTECTED]
>
>
> --
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: What the hell?!?!

2002-01-01 Thread David Jackson

copy php.log php.txt, now you have a static log to look at.
then do "more php.txt" this will display a screen at a time,hitting 
goes to the next screen.

To do more advanced work with text files goto:
http://simtel.net "gnuish" directory and download "gawk" and "grep", mainly
grep, NOTE: using grep is O.T. for this forum, but you in a nutshell,
the command string would look this: grep -i seach_string filename |more
or grep -i "fatal* filename |more, you get the idea.


> I need a program which will let me open it!
> Using notepat just runs wordpad which wont let me scroll down to see
> what it says because it's still processing the file.
> Internet explorer didnt work and MS-DOS editor just said "Out of
> memory" and closed on me
> Never mind!
> 
> 
> 
> "Laserjetter" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> I've just been preparing a site for upload from my local test server
>> to
> the
>> net and have come accross a php.error.log file which was 13.4Mb! I'm
>> using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading
> to
>> 4.1 PHP
>> has been creating these error log files all over the place. Does
>> anyone
> know
>> what to change in php.ini to stop it doing this?
>> Also, apart from my coding being rubbish and causing lots of errors,
>> does anyone know of any reason why an error log file would grow to
>> such a huge size? The page has onle been accessed a few times and I
>> can't think of any way a single page could create 1Mb of error text on
>> each hit.
>>
>> LJ
>>
>>
>>
>>
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]


-- 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]