Koozali.org: home of the SME Server

webmail

aaron

webmail
« on: January 07, 2002, 10:12:48 AM »
When I try to use connect to https://www.mydonaim.com/webmail, it get the following message:
Fatal error: Call to undefined function: mysql_pconnect() in /home/httpd/horde-phplib/db_mysql.inc on line 73  

On line 73 of that file I have
$this->Link_ID=mysql_pconnect($Host, $User, $Password);

Does anyone know what the problem may be??

Any help would be great.

Thanks

Rich Lafferty

Re: webmail
« Reply #1 on: January 07, 2002, 06:27:53 PM »
Have you upgraded PHP? What does

rpm -qa | grep ^php

give you?

--Rich

aaron

Re: webmail
« Reply #2 on: January 08, 2002, 05:32:21 AM »
I have upgraded php to 4.0.6.  

rpm -qa | grep ^php gives me php 4.0.6
 
Thanks for any help you can give.

Dan Brown

Re: webmail
« Reply #3 on: January 08, 2002, 05:53:30 AM »
If that's all you get, then your problem is very simple: you don't have php-mysql installed.  Install it, and your problem should be solved.

aaron

Re: webmail
« Reply #4 on: January 08, 2002, 06:21:51 AM »
Sounds easy enough.  Is there a how-to on that?  I don't want to mess anything up.

Thanks

Dan Brown

Re: webmail
« Reply #5 on: January 08, 2002, 06:57:34 AM »
Well, there's a how-to on upgrading PHP, which you apparently haven't read or followed...

aaron

Re: webmail
« Reply #6 on: January 08, 2002, 07:45:04 AM »
I read the upgrade php, and everything seems to be installed.  rpm -qa | grep ^php gives me the following:

php-4.0.6-10.arvin.rh7.1
php-imap-4.0.6-10.arvin.rh7.1
php-mysql-4.0.6-10.arvin.rh7.1
php-ldap-4.0.6-10.arvin.rh7.1
 I thought that meant sql was installed.  If it isn't, let me know.  

I really appreciate your input.  Thank you for you time.

aaron

Re: webmail
« Reply #7 on: January 08, 2002, 08:11:06 AM »
Dan, thank you for your help.  I went thru the PHP install with GD support and everything worked.  Thank you for your help.  It's good to know that there are people in the phorum with kindness and patience.  I have been in others where everyone mocks the guy who can't figure something out.  Thank you Dan.

Steve Becker

Re: webmail
« Reply #8 on: January 25, 2002, 10:46:09 AM »
Webmail gives me a similar error after I performed a restore:

Warning: Access denied for user: 'hordemgr@localhost' (Using password: YES) in /home/httpd/horde-phplib/db_mysql.inc on line 73

Exactly how did you fix yours?

aaron

Re: webmail
« Reply #9 on: January 25, 2002, 07:50:47 PM »
I just remove the php upgrade that I had done to get the error, then downloaded and installed the php update with gd support.  The how-to is: http://sme.nightspirit.nl/php-upgrade.html  I didn't think it was going to work, but erverything is smooth.  Hope that works for you.  I am using SME 5.0.