Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I have recently migrated to Archlinux. I installed Apache, php and mysql according to the Arch Linux LAMP wiki page.

Now I have setup a virtual host for my new Symfony project.

For every request I make, I get this error:

[notice] child pid 10859 exit signal Segmentation fault (11)

Can someone please help me with this?

share|improve this question

closed as too localized by Ulrich Dangel, Renan, Stéphane Gimenez, Gilles, jasonwryan Aug 18 '12 at 20:36

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Do you get segfaults running the php cli directly from the command line? Try running php -v from a command line. – Tim Jun 21 '12 at 17:35
Not for php -v, but when I run php -S and make a request, I get segfault. – Omid Kamangar Jun 21 '12 at 17:41
Awesome, glad to help. I added my response in an answer to help others. – Tim Jun 21 '12 at 19:18
up vote 2 down vote accepted

Whenever PHP fails with anything other than parsing errors for me, I try running it from the console in CLI mode, example:

php -v

This will often lead me to the errors or problems that I cannot see when PHP runs within Apache.

This is merely a debugging step.

share|improve this answer

Sorry, guys.
I found the problem.
It was php's apc causing the segfault. I disabled it and now, it works fine. Special thanks to Tim for giving me a clue.

share|improve this answer
Installing APC from the repo's and not via PEAR fixes the problem, thank you! – akluth Oct 31 '12 at 15:08

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