logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: PHP Pages Only Ask to Save the File
Author
blksith0



Joined: 28 Nov 2010
Posts: 3

PostPosted: Sun 28 Nov '10 3:50    Post subject: PHP Pages Only Ask to Save the File Reply with quote

Hello, in order to get PHP working with Apache, I followed this tutorial here:
http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml
and I've done it twice now and checked everything, but PHP simply wont work and only asks to save the PHP file when using Apache.
So, what else is there to do? Am I missing something?

Thanks.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 29 Nov '10 11:22    Post subject: Reply with quote

try with a different browser, if it works on it, dump cache and history on the one wanting to download. I had this problem with something else yesterday.

If you followed that, it should work. About the only reason I can think it would want to download is if you missed the AddType.
Back to top
blksith0



Joined: 28 Nov 2010
Posts: 3

PostPosted: Mon 29 Nov '10 16:08    Post subject: Reply with quote

Yeah thats what I had thought too, but I have it. Its
Code:
AddType application/x-httpd-php .php

And its right before the end of </IfModule>

So I'll try that browser when I get back.
Thanks
Back to top
blksith0



Joined: 28 Nov 2010
Posts: 3

PostPosted: Wed 01 Dec '10 1:02    Post subject: Reply with quote

It turns out it was something in my .htaccess folder, I have everything working well now. Thanks again.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 01 Dec '10 5:07    Post subject: Reply with quote

glad to hear it
Back to top


Reply to topic   Topic: PHP Pages Only Ask to Save the File View previous topic :: View next topic
Post new topic   Forum Index -> Apache