Set Up Questions - Revisited

mike-h30 wrote on Saturday, February 09, 2008:

I was double checking some of the setup documentation and I have some questions regarding the steps below.

OpenEMR requires a number of webserver and PHP features which may not be
enabled on your system.  These include:

- PHP Index support (ensure that index.php is in your Index path in httpd.conf)
- Session variables
- PHP libcurl support (optional for operation, mandatory for billing

1.)  I did not see a file named "index.php" anywhere in my httpd.conf file.  Here is the the closest match that I could find:

# List of resources to look for when the client requests a directory
DirectoryIndex index.html index.html.var

2. ) How do I verify "Session Variables" as mentioned above?

3.)  How do I know that I have "PHP libcure support"?

Thanks

-MIke

andres_paglayan wrote on Saturday, February 09, 2008:

1.)  I did not see a file named "index.php" anywhere in my httpd.conf file.
Here is the the closest match that I could find:

> you won’t, this is to tell your web server, (Apache?)
to treat index.php files as ‘index’ files, meaning it will look for a file named ‘index.php’
at the

# List of resources to look for when the client requests a directory
DirectoryIndex index.html index.html.var

2. ) How do I verify "Session Variables" as mentioned above?

>look for php.ini
$> updatedb
$> locate php.ini

3.)  How do I know that I have "PHP libcure support"?

>libcurl you meant,
search your repository for PHP libraries and install the one that says both php and curl
I don’t know what distro you use
if debian/ubuntu something like $> apt-cache search php | grep lib

Thanks

-MIke

andres_paglayan wrote on Saturday, February 09, 2008:

ps.
you need to add index.php at the
DirectoryIndex
line,
preferably the first option

mike-h30 wrote on Saturday, February 09, 2008:

Thanks Andres!