<div dir="ltr">Hi Rana,<br><br>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. <br><br>DanB<br><br><div class="gmail_quote">
On Thu, Jul 24, 2008 at 7:37 AM, Rana Dhekial <<a href="mailto:dhekial@msn.com">dhekial@msn.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Hi Dan,<br> <br>Please find output of 'dkpg -l 'php4-*'. Looks like php4-mysql is installed.<br> <br>openser:~# dpkg -l 'php4-*'<br>Desired=Unknown/Install/Remove/Purge/Hold<br>| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed<br>
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)<br>||/ Name Version Description<br>+++-==============-==============-============================================<br>ii php4-cgi 4.4.4-8+etch6 server-side, HTML-embedded scripting languag<br>
un php4-cli <none> (no description available)<br>ii php4-common 4.4.4-8+etch6 Common files for packages built from the php<br>un php4-curl <none> (no description available)<br>
ii php4-dev 4.4.4-8+etch6 Files for PHP4 module development<br>un php4-memcache <none> (no description available)<br>ii php4-mysql 4.4.4-8+etch6 MySQL module for php4<br>ii php4-pear 4.4.4-8+etch6 PHP Extension and Application Repository (tr<br>
un php4-pgsql <none> (no description available)<br><br>/etc/php4/apache2/php.ini has the following lines..<br> <br>extension=mysql.so<br> <br>Please let me know any additional config required.<br> <br>thanks,<br>
<br> <br>Rana<br> <br> <br><br><br> <br>
<hr>
<br>Date: Thu, 24 Jul 2008 07:02:42 +0200<br>From: <a href="mailto:danb@sms4sip.com" target="_blank">danb@sms4sip.com</a><br>To: <a href="mailto:dhekial@msn.com" target="_blank">dhekial@msn.com</a><br>Subject: Re: [OpenSER-Users] CDRTool with OpenSER<br>
CC: <a href="mailto:users@lists.openser.org" target="_blank">users@lists.openser.org</a><div><div></div><div class="Wj3C7c"><br><br><br>
<div dir="ltr">Hi Rana,<br><br>you need to have php4-mysql installed and loaded in your php code.<br><br>DanB<br><br>
<div>On Thu, Jul 24, 2008 at 3:00 AM, Rana Dhekial <<a href="mailto:dhekial@msn.com" target="_blank">dhekial@msn.com</a>> wrote:<br>
<blockquote style="padding-left: 1ex;">
<div>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: <a href="http://%3cipaddress%3e/CDRTool" target="_blank">http://<ipaddress>/CDRTool</a><br>
<br><br><b>Fatal error</b>: Call to undefined function: mysql_pconnect() in <b>/var/www/CDRTool/phplib/db_mysql.inc</b> on line <b>73<br></b><br><b>MySQL version is 5.0.32, Apache version is 2.2.3, php version is 4.<br><br>
<span style="font-weight: bold;"></span></b>please let us know if there is anything we can do to fix this problem.<br> <br>thanks,<br> <br>Rana<br><br><br><br><br>
<hr>
Use video conversation to talk face-to-face with Windows Live Messenger. <a href="http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008" target="_blank">Get started.</a></div>
<br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.openser.org" target="_blank">Users@lists.openser.org</a><br><a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div><br></div></div><hr>Time for vacation? WIN what you need. <a href="http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm" target="_blank">Enter Now!</a></div>
</blockquote></div><br></div>