Hi, Recently I Upgrade my trixbox from version 2.2 to 2.6 with A2billing 1.3.4. I use a PHP script to disable trunks in A2B when they reach a limit of minutes, as a cront job seted on Webmin. Script command is being executed as root user. Also Asterisk user, asterisk crontab is showing php script Works great with Trixbox 2.2 and PHP 4.3.11, but not with Trixbox 2.6 as this version use 5.2.5. When I run script, I`ve got this message:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pcntl.so' - /usr/lib/php/modules/pcntl.so: undefined symbol: zend_hash_index_update_or_next_insert in Unknown on line 0
So, I realize my pcntl.so module is not really loaded as in the old version is in php4 folder and I presume my billing is not working properly beacuse of this. Now, my question is: How to enable pcntl.so module to work with PHP 5 version? or ... How to load module in the correct folder from php5? I switch php.ini zend engine to ON to enable php 4.x compatibility, but still pcntl.so module is not loaded at PHP startup. I hope you can understand my question. I'm really ignorant about PHP. Please help. Cheers,
|