Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 4:11 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PHP-Pcntl issue
PostPosted: Thu Oct 01, 2009 5:42 am 
Offline

Joined: Wed Aug 22, 2007 4:36 am
Posts: 97
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,


Top
 Profile  
 
 Post subject: Re: PHP-Pcntl issue
PostPosted: Thu Oct 01, 2009 5:57 am 
Offline

Joined: Wed Aug 22, 2007 4:36 am
Posts: 97
OK, I remove php-pcntl 4.3 and my script works great.
Anyway, I did yum info php-pcntl and "Nothing to do".
But, if I try yum install php-pcntl I get:

Package php-cli-5.2.5-7.i386 already installed and latest version

php-common is also installed on latest version.
Now, my question is:

As A2B need php-pcntl to bill properly, could be a problem if I removed php-pcntl 4.3?
Thanks for your atention and help.
Cheers,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group