Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my PHP program when I access specific URL (POST some data) the request has been aborted and this logs appear in Apache error.log:

WARNING: HOME is not set, using root: /  
[Thu Sep 13 22:49:47 2012] [notice] child pid 32111 exit signal Segmentation fault (11)   

What's the problem?

share|improve this question – quanta Sep 13 '12 at 23:56… – quanta Sep 13 '12 at 23:56
up vote 3 down vote accepted

This is a software problem (could be one of many, but almost certainly a programming error).

In order to figure it out you would need to run your web server inside of a debugger to locate the point in the code where the segfault is happening -- if your "server experience is weak" there is a very good chance that this sort of debugging will be out of your depth, and you should refer the problem to the person who wrote the code that is trying to handle this POST request.

share|improve this answer
Code is written by myself and work perfectly in my local Ubunto OS, but this server is Debian and I dont have access the person who configure it.What about "WARNING: HOME is not set, using root: /" ?Is there any suggestion for trying? – realman Sep 13 '12 at 21:41
@realman That may or may not be related (If you don't see it in your development environment, figure out why you see it in production, and if it's a problem fix it. dmars gave you some tips.). To be blunt, YOU need to debug this - Figure out what is different between Development and Production environments that is causing the problem, and you will be able to resolve it. With the information given that's almost impossible to do over the internet... – voretaq7 Sep 13 '12 at 22:14

HOME is not set means that the user under which the web server is running does not have a home directory defined (or maybe it doesn't exist).

If your code is the same on both local machine and the server, try comparing the data you POST. Check if:

  • there is anything unusual in the data you sent
  • there is a problem when you POST the same data
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.