Re: [users@httpd] php files downloading on 2.0.54

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew,

What seems to be the case is that Apache is no longer recognizing .php files as something that needs to be executed and handled by a module. You're off to a good start with LoadModule, but you also have to have the following line in your httpd.conf file somewhere:

AddType application/x-httpd-php .php

You can find more details on this page:

http://www.php.net/manual/en/install.windows.apache2.php

Hope that helps!



Andrew NA wrote:

OS: Windows XP
PC: Dell Dimension 2200; 1.8 GHZ P4; 768 RAM
Hi, I'm trying to upgrade from Apache 1.3.33 to Apache 2.0.54. I heard its now stable and is the best version, so I decided to give it a try. I installed Apache 2.0.54. The installer didn't mention anything about my previously installed version, I thought it might ask if I wanted to erase the old files and just use the new one, or upgrade or something, but it didn't so I just installed the seperate files. So now I have Apache 1.3.33 and Apache 2.0.54 installed. I tried starting Apache 2.0.54, and it seems to be working ok. The only thing is, now my php files are opening like downloads! I click a link, and the box with would you like to open, save, cancel pops up. How do I get it back to loading like regular php files?? I have this php module loading in httpd.conf: LoadModule php5_module c:/php/php5apache2.dll Could that be old? It's from my php5 directory, though. So what should I do?
------------------------------------------------------------------------
Yahoo! Mail
Stay connected, organized, and protected. Take the tour <http://tour.mail.yahoo.com/mailtour.html>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux