I'm using Apache 2.2 on Windows Server 2003, but I assume the config is similar for other OS.
 
In the httpd.conf file, add something like this:
 

<IfModule dir_module>

DirectoryIndex index.html index.php index.cgi index.pl

</IfModule>

and
 

Alias /phpMyAdmin "D:/phpMyAdmin"

<Directory "D:/phpMyAdmin">

Options +FollowSymLinks +ExecCGI -Indexes

AllowOverride All

Order allow,deny

Allow from all

DirectoryIndex index.php

#ScriptInterpreterSource registry

</Directory>

I'm no Apache expert, so I'm sure others will correct anything that's wrong, but this works for me.
 
 


From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of David Holder
Sent: 06 August 2009 14:50
To: User questions and discussions about OTRS.
Subject: [otrs] Installing PHPMyAdmin alongside OTRS

Hi chaps,

I'm trying to install phpmyadmin alongside OTRS for easier management of the DB.

I've installed PHP and put the PHPMyAdmin directory into my htdocs folder in OTRS/Apache, but when I try to open http://localhost/phpmyadmin/index.php I'm just greeted with the actual PHP code in my web browser.

Anyone got any ideas what I need to do?

Thanks,

David