5

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?

Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
Omid Kamangar
  • 233
  • 1
  • 7
  • 1
    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 127.0.0.1:8070` 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

2 Answers2

2

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.

Omid Kamangar
  • 233
  • 1
  • 7
2

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.

Tim
  • 6,113
  • 1
  • 18
  • 19