View Single Post
Old 10th December 2008, 00:21
AdamBoyle AdamBoyle is offline
Junior Member
Join Date: Oct 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nginx + Apache on Ubuntu 8.04


I've been looking over some tutorials on this site so I can play around with some PHP.. For the project I want to run, I need to be able to run 2 webservers on the same box.. I found the tutorial to install Nginx on Debian Etch which went fine on my Ubuntu 8.04 box, then I followed the one to authenticate ProFTPd users against a MySQL backend, which worked fine too.. Everything authenticates, but, I cannot get into phpMyAdmin to be able to edit anything! When I go to the page I'm asked if I want to run or open the page with type "application/x-httpd-php"..

I have got Nginx running PHP through FastCGI, but phpMyAdmin is trying to run through Apache I think.. I thought installing phpMyAdmin using apt-get would have installed any required packages... I have got the 2 servers running and working on different ports without any issues, and Nginx outputs a "phpinfo()" page properly.

Ideally I want phpMyAdmin to work through Nginx, but I do need the Apache server to be able to output PHP pages..

These are the 2 tutorials I have followed:

If anyone knows what I need to do, I would be really grateful!
Reply With Quote
Sponsored Links