Setup error

it-p wrote on Thursday, January 19, 2006:

Just installed ubuntu 5.04
Apache/2.0.53
PHP/4.3
MySQL4.023

I can reach the openemr setup screen but get this error on creating the database:
Connecting to MySQL Server…
Fatal error: Call to undefined function: mysql_connect() in /var/www/openemr/setup.php on line 159

What am I missing?

sunsetsystems wrote on Thursday, January 19, 2006:

Looks like you need to install the php4-mysql package.  See also:

http://sourceforge.net/forum/message.php?msg_id=3513829

– Rod
www.sunsetsystems.com

it-p wrote on Thursday, January 19, 2006:

Hi Rod, thank you for the quick response.
Maybe a dumb question but where can I get this php4-msql package?

sunsetsystems wrote on Thursday, January 19, 2006:

It’s php4-mysql, not php4-msql.  Install it in the usual way:

apt-get install php4-mysql

If you can’t find it then you probably need to enable the “universe” repository.  See http://help.ubuntu.com/starterguide/C/ch02.html for more about that.

– Rod
www.sunsetsystems.com

it-p wrote on Thursday, January 19, 2006:

Rod, the force is with you!

Thnx.