right, well i'm just recently learning php.
i've installed WAMP and it seems to be working for all i know, but when i go onto the localhost or whatever and click onto my saved file in my project folder it always tells me that i have to download it.
i don't know if that's just how i've saved the file or what.
i saved one as .php and it does the same thing.

help this poor little noob

Recommended Answers

All 3 Replies

sounds like php is not installed correctly in apache conf .. i think the easiest way to get apache mysql and php to work is to use XAMPP from apache friends .. thats what i use anyway .. if you need help installing the xampp just let me know

sounds like php is not installed correctly in apache conf .. i think the easiest way to get apache mysql and php to work is to use XAMPP from apache friends .. thats what i use anyway .. if you need help installing the xampp just let me know

thanks, i don't think i'll need help installing. :)

add this to your httpd.conf file

AddType application/x-httpd-php .php

and also add this line if it isn't there already.

LoadModule php5_module "c:/wamp/php/php5apache2_2.dll"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.