Knowledgebase: Programming & Languages > PHP
Why are there Core files in my webspace?
Posted by Bill Williams, Last modified by Andy Williams on 26 July 2007 07:28 PM

Core files or Core dumps are actually snapshot images of the memory your PHP script used, at the moment of crash. This is produced as apache is compiled in the server with the debugging option. They are usually produced when one uses software packages that are not quite out of the beta testing stage or due to bug in the software packages.

There are many reasons for the core dumps. The most common being is that your PHP scripts are using a nonexistant function() or trying to use a disabled_function such as shell_exec, exec()

The core files are used by the developers for debugging an executable. finding out information such as, exactly where a program crashed, the values of various variables, the calling contexts, stack frames, etc, in order to ascertain the problems and to effect corrective measures prior to recompilation.

You could safely remove these files from your webspace, when they are created. Please be assured your account is not been hacked or access by anyone. Core files are system generated to enable debugging of PHP executables.
(299 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).