I'm trying to run APC 3.0.8 with PHP 5.1.1 (also tried with 5.1.0, no difference) and Apache 2.0.52 on a Windows XP Pro SP2 development machine. I've downloaded the latest DLL from pecl4win32 and installed it, it shows up in php_info() and everything looks fine. However, it crashes Apache the 2nd time a page is loaded. On the first load of a page, it takes about twice as long to process, presumably as it gets cached. On the second attempt, after about 2 seconds of trying to load the page, I get the "Send Error Report" box that says Apache.exe died. In the windows event view, a new entry is added:

Faulting application Apache.exe, version 2.0.52.0, faulting module php5ts.dll, version 5.1.0.0, fault address 0x000113e4.

If I try to load the page again, it acts exactly like the first load and so on. I've tried a variety of APC options in PHP.ini, the only one that seems to have any effect is apc.enabled, which, when set to 0, properly disables APC and gets rid of the problems along with the performance boost I'd apparently get.

Also, is there any way to move the lock files? My E:\tmp directory is full of junk, I thought it was supposed to use C:\tmp? I have PHP installed in E:\Server\PHP\ which is probably why it's filling my temporary directory on E: with junk.

Any tips?

Thanks,
Rob

Reply via email to