Jump to content

Anyone install ANY PHP accelerator in Windows??


alizarin

Recommended Posts

I've spent about 24 hours trying to install every PHP accelerator in Windows 7 / Apache 2.2 / Php 5.2.9

 

eAccelerator

APC

xCache

 

I've tried multiple versions of the dlls for all, and I even tried to compile one from source.

 

I don't get an error in the php error log but nothing shows up in phpinfo() and related functions for them don't work, so they're not loading when I start/restart PHP.

 

Any ideas? Did I disturb a native american burial ground and this is my curse?

 

LOL

 

Chances are that the DLL's are fine...are you including the extensions in your php.ini?

 

Order of operations would be

 

#1)  Get the DLL, and put it in the php extensions directory...you can see this in php.ini

#2)  Make sure the extension is set to load in php.ini

#3)  Restart apache

#4)  Rip an albino squirrel in half, and sprinkle it's blood over the perimeter of your house.  Wear a head-dress and do the Navaho Warrior Rain Dance V2.36 Beta.

 

Let me know if that works!

Try checking the php error log, and see if it's giving you any output?

 

I've had issues where I tried to compile a 32bit extension on a 64 bit machine (and vice versa) and had it crap out on me.

 

The error log should give you some details as to what's happening at least.

 

Also try the following (at command line)

 

php -m  (see if the module is showing up there)

 

If it's not, try php -z and try to load the module right from there.  If it doesn't work, you should get some info at least as to why.

 

At least then you can verify that your php interpreter is loading it correctly.  If it is - then you can move on to debugging as to WTF is going on with apache.

 

 

I went through making a long reply until I found the problem:

extenSion= vs extenTion=

 

I was running into problems finding dlls that wouldn't cause errors yesterday, I must have been copying and pasting that misspelling today.

 

Thanks for the help all =)

 

I'm going to go release the albino squirrel and take some tylenol now.  :-[

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.