It seems to be not the 'core' of PHP, but several of the modules that go with it aren't thread-safe.
Apparently, this really only shows up in the real world under heavy usage, and using the prefork "multi-processing module" should reduce or eliminate the potential problems. I think.
It SOUNDS like the warnings about not using PHP with Apache2 is mainly overcautiousness - every time one of these stories comes up, a few people pop up and say it's working fine for them, and I don't remember seeing anyone pop
by Anonymous Coward writes:
on Saturday April 03, 2004 @08:22AM (#8755073)
Hello,
apache 2 and php work perfectly, i did compile apache with prefork, so as to let apache 2 work the same way old apache did. Also because most linux distros need a lot a tweaking to get a good threaded linux version running.
Again, i'm using apache2 and php in a production env for more than a year now, looks great to me.
I've been running PHP/Apache 2 for a while... (Score:4, Interesting)
...and haven't noticed any problems. Why is this advised against?
Re:I've been running PHP/Apache 2 for a while... (Score:5, Interesting)
It seems to be not the 'core' of PHP, but several of the modules that go with it aren't thread-safe.
Apparently, this really only shows up in the real world under heavy usage, and using the prefork "multi-processing module" should reduce or eliminate the potential problems. I think.
It SOUNDS like the warnings about not using PHP with Apache2 is mainly overcautiousness - every time one of these stories comes up, a few people pop up and say it's working fine for them, and I don't remember seeing anyone pop
Re:I've been running PHP/Apache 2 for a while... (Score:0)
apache 2 and php work perfectly, i did compile apache with prefork, so as to let apache 2 work the same way old apache did. Also because most linux distros need a lot a tweaking to get a good threaded linux version running.
Again, i'm using apache2 and php in a production env for more than a year now, looks great to me.
General Custard.