*Sigh*
I thought I had this licked. I even wrote a tut on how to install these things. Anyway, When I installed Apache2, the localhost gave me the standard startup page. SFSG!
Then MySQL and PHP5 were installed and configured per the same instructions that I posted in the tutorials section. I must have flubbed something along the way because this time all I get in response to 'http:\\localhost:80' is a file download dialog box. I have configured virtual hosts, but they were working before.
Has anyone seen this before? If so, please point me to where I need to begin looking for my mistake. (mime error?)
Thanks,
[SOLVED] Accessing Apache2 via localhost gives a 'file downl
Moderator: General Moderators
Make sure you have:
LoadModule php5_module "C:\Program Files\Apache Group\Apache2\php\php5apache2.dll"
DirectoryIndex index.html index.php
ScriptAlias /php/ "c:/program files/apache group/apache2/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
(values changed respectively) inside your apache2/conf/httpd.conf
LoadModule php5_module "C:\Program Files\Apache Group\Apache2\php\php5apache2.dll"
DirectoryIndex index.html index.php
ScriptAlias /php/ "c:/program files/apache group/apache2/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
(values changed respectively) inside your apache2/conf/httpd.conf
Yeppers,
Got all that stuff in there.
Side Note: I just configured another server with XAMPP. What a great idea! But, I really don't like the directory structure it gives, plus they took away the apachemonitor in the taskbar in favor a batch files to start and stop the server....Why? And I especially don't like having phpmyadmin exposed at the entry point that way. Even though I can use http authorization, it gives me the heebie jeebies to have it anywhere near the server root. I think XAMPP must be made for local testing servers or something like that. I can't imageine using that structure in a production environment.
Anyway, I still have one computer that is giving me that file download dialog box when accessing localhost. Anymore suggestions on that?
Thanks and sorry for the rambling. Hardly any sleep in 3 days. This project is killing me. Thank God for espresso.
Got all that stuff in there.
Side Note: I just configured another server with XAMPP. What a great idea! But, I really don't like the directory structure it gives, plus they took away the apachemonitor in the taskbar in favor a batch files to start and stop the server....Why? And I especially don't like having phpmyadmin exposed at the entry point that way. Even though I can use http authorization, it gives me the heebie jeebies to have it anywhere near the server root. I think XAMPP must be made for local testing servers or something like that. I can't imageine using that structure in a production environment.
Anyway, I still have one computer that is giving me that file download dialog box when accessing localhost. Anymore suggestions on that?
Thanks and sorry for the rambling. Hardly any sleep in 3 days. This project is killing me. Thank God for espresso.
