Express install script - an easier setup

markleeds wrote on Saturday, June 28, 2008:

I put together a script last night that may make the installation/setup process easier for some people.  I tested with XAMPP on Windows XP.  This takes advantage of the fact that you don’t really have to worry about permissions so the script can alter files and rename a directory without any complaints.

The script name is express.php.  It is now under /openemr/contrib/util/express.php in cvs.  To test it, move it to /openemr/express.php and point your browser at it.  It justs asks for a single name and hit the submit button.  The database, user, password etc… will be named from this one name.  At the end, the /openemr directory (or whatever yours is named) will also be renamed to this name.

I tested this with the current 2.8.3 release with XAMPP and Windows XP.  I made a bunch of separate installations very quickly with it.  If it works for others and is helpful, maybe it could be made a part of the standard installation script.  A lot of it was cut and pasted from the existing setup.

Please try and let me know if it works and is useful.

Mark

markleeds wrote on Monday, June 30, 2008:

Never mind.  I should have known it was too good to be true.  It worked on that one Windows XP machine.  I tried it on another with the latest cvs code, and first the sqlconf thing didn’t work.  I then manually changed the permissions and then the directory renaming function was denied access.

It would be great if somehow xampp could be custom configured to install with OpenEMR included.