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.
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