setting up phplivesupport on windows | apache

August 7, 2008 · Print This Article

For our respected customers, we added some live support on our page. Usually installing a script like this is a matter of a few minutes. Not so this script. If you have set the option -Indexes in your conf file of apache, this script will not be installable.

Even requesting help from the vendors page didn’t bring up any more information. Fumbling around here’s what finally succeeded:

a) Add a .htaccess file to your phplive installation folder.
b) Go and change / add the /setup/index.php with following code:


$dir = $_SERVER['DOCUMENT_ROOT'];
$dir .= “phplive/”;

Put this on top of the index.php Then replace these lines:

if ( file_exists( “../web”))

and all similar following calls with this:

if ( file_exists( $dir. “web” ))

That’s it, after these changes, the script could be installed on a windows / apache system.

Comments

Got something to say?