Setup.php error on Ubuntu

jvorstermans wrote on Thursday, April 17, 2008:

I am having a setup problem on Ubuntu 7.10 when trying to connect to the mysql database (page 3).  I can connect to it fine using the password I installed it with but when trying via the setup.php I get the following error:

OpenEMR Setup

Step 3

Connecting to MySQL Server…
Fatal error: Call to undefined function mysql_connect() in /var/www/openemr/setup.php on line 176

I am connecting to localhost

Any help appreciated.

John

drbowen wrote on Wednesday, April 23, 2008:

Would you give us some more info about your system?  What versions of:

Apache

MySQL

PHP

OpenEMR

are you running?

Have you looked for error messages in the syslog or Apache server error logs?

Do you have mysqli installed?

Sam Bowen, MD

drbowen wrote on Wednesday, April 23, 2008:

What is your path to OpenEMR?

Have you changed the path in openemr/interface/globals.php ?

Your path listed above is:

/var/www/openemr/setup.php

Have you set up a include statement in httpd.html so that Apache can find your web page?

This should look something like:

<Directory /var/www/openemr>

</Directory>

Sam Bowen, MD

drbowen wrote on Wednesday, April 23, 2008:

Excuse me httpd.html should be httpd.conf