Yeah, it looks like your Apache server doesn't know what to do with .php files so its just displaying them as it would any other file. Have a look at this bit of documentation on the PHP website. It might help you out;
http://www.php.net/manual/en/install.windows.apache2.php Rory Support my 365 Challenge in aid of the Irish Cancer Society www.365challenge.ie 2009/8/6 Glossop, Andrew <[email protected]>: > 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: [email protected] [mailto:[email protected]] 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 > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > http://www.otrs.com/en/support/enterprise-subscription/ > --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
