Jump to content

WAMP Not processing PHP file...


Recommended Posts

I just installed the newest version of wamp which includes PHP 5.2.0, and Apache.

 

When I enter localhost in my browser it tried to download the file application/x-httpd-php instead of processing it. Now I looked up how to fix this problem, and everyone says add the lines in the Apache config file, which I have done, so I have no idea why my php file is not being processed. MySQL, Apache, and PHPMyAdmin all work fine.

 

Any advice?

 

AddType application/x-compress .Z

AddType application/x-gzip .gz .tgz

AddType application/x-httpd-php .php

AddType application/x-httpd-php .php3

AddType application/x-httpd-php phtml pht php

AddType application/x-httpd-php-source .phps

Link to comment
https://forums.phpfreaks.com/topic/38502-wamp-not-processing-php-file/
Share on other sites

Ok, I placed that in my Apache config file and it did not work... It still tries to download the stupid file... any suggestions?

 

 

And it only does this when I type in Localhost....

 

 

When I type in 127.0.0.1 it says "It Works" in bold text.

 

 

Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.