views:

27

answers:

1

Hey all,

I'm writing a custom extension in PHP and am loading the extension in the php.ini file. The extension loads and runs fine when using the command-line interface, but it doesn't load in the web server (Cherokee with FastCGI). To head off some questions before they're asked, I am definitely using the proper php.ini file(s) and I've set the value of extension_dir correctly. Even when I specify the full path to load the extension, it doesn't work.

So I'm wondering what I can do to troubleshoot this problem. I suspect it may be due to an external dependency because the extension was loading fine before I linked it to a couple shared libraries. However, I don't see any indication of a problem in /var/log/cherokee/cherokee.error. Any other ideas as to how I can determine the problem?

A: 

Okay, I've got it working after rebuilding PHP and Cherokee to be 32-bits (and fixing a bug that arose after switching to 32-bits). Thanks again.

okalex