By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,347 Members | 1,390 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,347 IT Pros & Developers. It's quick & easy.

error log overflow

P: 1
i'm a beginner, on my way to make a php site. i can't seem to solve a problem.

I made a mistake by writing an infinite loop that caused my error.log to overflow. it is now 1.23 gigs. i can't open it using word, notepad, wordpad, or even DOS.
i tried renaming it, and created a new error.log file in the logs directory, but apache still keeps writing to the old file.

how can i clear the old data, so that the file doesn't stay that big? or
how can i create a new error.log file, and delete the old one?

i'm using apache 2.2 with PHP5 on Windows XP.

any help would be much appreciated.
May 2 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.