clear log files

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

clear log files

Postby eyni » 11. May 2022 15:43


I was developing some small php programs (actually my first ones), logging many errors. So my php_error_log file is totally full now (didn't realise it soon enough) taking up all the memory of the XAMPP server (almost 14GB !).
So I need to clear it in order to write, install or do anything.
The only problem:
The file is locked. Only daemon has the permissions to write.
I tried sudo chown in Terminal but I don't seem to have the permissions for that either.
I tried changing the User (and Group) in httpd.conf but after that, Apache wouldn't start at all.

I guess this isn't the first time someone runs into this problem?
I have already spend several hours on this, help would be very appreciated!
Posts: 2
Joined: 03. May 2022 12:19
XAMPP version: 8.1.2-0
Operating System: macOS 12.3.1

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 8 guests