I’m running Zend Server Community Edition on Mac OS X. I attempted to install the PECL oAuth extension by using the simple command:
1
| |
The installation went fine, but when I attempted to find pecl in my modules list, it wasn’t present. When I checked /usr/local/zend/var/log/php.log, I got the following error message:
1 2 | |
It turns out the reason for this is that Snow Leopard builds the pecl extension, it’s doing so as a 64-bit binary. However, Zend Server community edition is compiled using 32-bit. I found a blog post which explains exactly how to compile the PECL module. The solution worked out perfectly.