I need to use the libpuzzle extension for PHP, and so far I failed to make it run with fcgid. I have installed it (manually, unfortunately, because of the dependency issues) and added the extension=libpuzzle.so to my /etc/php.ini. Sadly, extension only gets loaded for PHP-cli, and doesn't get loaded for PHP running from fcgid. I tried:
- Doing
service httpd restartafter installation and modifyingphp.ini, to no avail. - Checking
phpinfo()to see if it's loaded or not, and it isn't withfcgid, but is with CLI. Extensions that were installed viayum, likeimagick, are loaded fine. - Loading it during runtime with
dl(), however, seems like "this function has been removed from some SAPIs in PHP 5.3.".
I'm at a loss. I don't want to get rid of FastCGI because of this single extension. I cannot install extension from the repo, because one of the dependencies (maybe PHP) is different version than expected from another repo (and I cannot downgrade that either because code relies on it). Please help.
I'm running CentOS 6 with PHP 5.4.17.