Difficulty installing OpenEMR on Mac OS using XAMPP

bhushan-m wrote on Sunday, October 13, 2013:

Dear friends,

I am an obgyn, struggling to install openemr on my macbook.
I have successfully install XAMPP, and then copy the openemr folder to xampp/htdocs
and perform all permissions from the install text file.

then when i go to localhost/openemr/set.php
i get this message.

Notice: Undefined index: state in /Applications/XAMPP/xamppfiles/htdocs/openemr/setup.php on line 13

Notice: Undefined index: iuser in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 13

Notice: Undefined index: iuserpass in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 14

Notice: Undefined index: iuname in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 15

Notice: Undefined index: igroup in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 16

Notice: Undefined index: server in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 17

Notice: Undefined index: loginhost in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 18

Notice: Undefined index: port in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 19

Notice: Undefined index: root in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 20

Notice: Undefined index: rootpass in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 21

Notice: Undefined index: login in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 22

Notice: Undefined index: pass in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 23

Notice: Undefined index: dbname in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 24

Notice: Undefined index: collate in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 25

Notice: Undefined index: source_site_id in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 27

Notice: Undefined index: clone_database in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 28

Notice: Undefined index: development_translations in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 29
OpenEMR Setup

Notice: Undefined index: inst in /Applications/XAMPP/xamppfiles/htdocs/openemr/setup.php on line 168

Can you please help how to solve that problem. I have googled everywhere, still no solutions.

your kind help is much appreciated.

Bhushan

fsgl wrote on Sunday, October 13, 2013:

According to this Installation Guide, the directions for 4.1.2 is the same as for 4.1.0 Lion.

The xampp/htdocs folder is used with Windows, not with OS X. Instead of going into htdocs, OpenEMR should go into the /Library/Server/Web/Data/Sites/Default folder, which must be created before this step.

yehster wrote on Sunday, October 13, 2013:

You need to make the php.ini settings changes described in the link Dr. Lee provided. Most importantly, display_errors needs to be off.

There is an OSX version of xampp too, so if that’s what you are using, the directory change Dr. Lee suggests may not be necessary.

fsgl wrote on Sunday, October 13, 2013:

Indeed, XAMPP is available for OS X.

I wonder why Bruce Barton went through all the trouble of piecemeal installations when the XAMPP package can be used instead.

It appears that installing XAMPP on a Mac is not straightforward as indicated in these instructions.

All of which begs the question: is it possible to install the XAMPP-OpenEMR package that Brady built for Windows (with some tweaking for phpMyAdmin)? If it is possible, it would be great to have this as an alternative to Bruce’s method and add it to the Wiki. It was very generous of Bruce to share, but the protocol is hardly a walk in the park.