views:

84

answers:

0

Besides the name, what are the differences between loading one or another?

I got issues with APC and X-Debug, I know that is a quick way to crash Apache but my application relies in APC and I MUST profile with WebGrind so it's no option for me to disable either. So I'm trying to think out of the box.

What I can't do:

  • Disable APC or X-Debug
  • Use php in CGI
  • Mess with Window$ registry / PATH variable
  • Rewrite code
  • Change OS, Apache and PHP versions

The problem presents itself with the ternary operator, example:

echo (true==false?:'This evaluates as "false", and this is never displayed');

No echo is displayed cause Apache child terminates itself when loading APC with 3221225477 status code. I'm not using any other extension like MySQL; just APC and X-Debug, since this is an application for security that profiles and filters data coming from webServices in Javascript, CSS, JSon, XML, AMF and plain text; also serves as kind-of memcache and in-memory session store.

Versions:

  • Windows XP (x86) SP3 (latests updates)
  • PHP v5.3.3 (Thread safe)
  • Apache 2.2.15 non-ssl

Ohh, by the way actual versions are important coz it's permanently updated (since I have 2 boxes for dev and one for QA/Staging). So in short, how I can overcome this issue?