Hi Rana,
Best would be when u create a phpinfo() and check if the mysql extension is
loaded. Otherwise you need an extension=mysql.so inside php.ini configs.
DanB
On Thu, Jul 24, 2008 at 7:37 AM, Rana Dhekial <dhekial(a)msn.com> wrote:
Hi Dan,
Please find output of 'dkpg -l 'php4-*'. Looks like php4-mysql is
installed.
openser:~# dpkg -l 'php4-*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii php4-cgi 4.4.4-8+etch6 server-side, HTML-embedded scripting
languag
un php4-cli <none> (no description available)
ii php4-common 4.4.4-8+etch6 Common files for packages built from the
php
un php4-curl <none> (no description available)
ii php4-dev 4.4.4-8+etch6 Files for PHP4 module development
un php4-memcache <none> (no description available)
ii php4-mysql 4.4.4-8+etch6 MySQL module for php4
ii php4-pear 4.4.4-8+etch6 PHP Extension and Application Repository
(tr
un php4-pgsql <none> (no description available)
/etc/php4/apache2/php.ini has the following lines..
extension=mysql.so
Please let me know any additional config required.
thanks,
Rana
------------------------------
Date: Thu, 24 Jul 2008 07:02:42 +0200
From: danb(a)sms4sip.com
To: dhekial(a)msn.com
Subject: Re: [OpenSER-Users] CDRTool with OpenSER
CC: users(a)lists.openser.org
Hi Rana,
you need to have php4-mysql installed and loaded in your php code.
DanB
On Thu, Jul 24, 2008 at 3:00 AM, Rana Dhekial <dhekial(a)msn.com> wrote:
We are trying to install cdrtool on the same machine where OpenSER ( 1.2.2
) is running. We get the following error message when trying to access the
page: http://<ipaddress>/CDRTool <http://%3cipaddress%3e/CDRTool>
*Fatal error*: Call to undefined function: mysql_pconnect() in *
/var/www/CDRTool/phplib/db_mysql.inc* on line *73
*
*MySQL version is 5.0.32, Apache version is 2.2.3, php version is 4.
*please let us know if there is anything we can do to fix this problem.
thanks,
Rana
------------------------------
Use video conversation to talk face-to-face with Windows Live Messenger. Get
started.<http://www.windowslive.com/messenger/connect_your_way.html?ocid…
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
------------------------------
Time for vacation? WIN what you need. Enter
Now!<http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm>