Install Error on Linux

ipr365 wrote on Monday, December 15, 2008:

I am using Red Hat Linux (Enterprise) with the following:

Apache 1.3.39

PHP 4.4.7

MySQL 4.1.22

I installed the tarball as directed and when I try to access via website I get this error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@podologist.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.39 Server at podologist.com Port 80

Thanks
Steve

cfapress wrote on Wednesday, December 17, 2008:

Hi Steve,

Those software specs you gave are about 5 years out of date. Is this a really old server?

Never the less, I think that OpenEMR might work on it. The error you’re getting is a 404 which means the page doesn’t exist on the server. That’s something to be fixed with Apache, not OpenEMR.

First, make sure that you’ve got Apache running smoothly. Create a dummy HTML file in the root of your WWW Server directory. Try to access it.

Second, with Apache working properly, try to access your OpenEMR directory. This can be a little tricky depending on your configuration. On my server OpenEMR is just a subdirectory of the main WWW Server Root.

Third, is Apache recognizing PHP files?

Fourth, is the OpenEMR directory read-write accessible to the WWW user account?

We’ll help you get this sorted out.
Jason

drbowen wrote on Thursday, December 18, 2008:

Have you set your path in:

openemr/interface/globals.php

?

Sam Bowen, MD

blankev wrote on Thursday, December 18, 2008:

Hello Sam,

I changed this line in gglobal.php, and made it into:

$webserver_root = "localhost/openemr";

or should I add http://???

Pimm

drbowen wrote on Friday, December 19, 2008:

Definitely not.

This has to be set to the real path of your installation.  What you see as the administrator of your system.

On my laptop I run Gentoo Linux and i have the following line:

$webserver_root = "/var/www/localhost/htdocs/openemr";

Most versions of Linux it will likely read something like:

$webserver_root = "/var/www/html/openemr";

On Windows it will likely be:

$webserver_root = "C:/xampp/htdocs/openemr";

In Windows which normally is not case sensitive this is definitely case sensitive and you definitely need forward slashes.

What Operating System are you running and what is the system path to your OpenEMR installation?

Sam Bowen, MD