Click to See Complete Forum and Search --> : where can i fing sample conf files?


veganboyjosh
01-13-2005, 04:53 PM
hey all...

i've managed to install correctly apache2, (i get the test page ok, so i assume it's all good) and i think i've getten php installed. i went through sevral installs and uninstalls throughout this process, and nowi can't remember which conf files i changed or not.

i can code the pages in dreamweaver or in notepad, and get the html to show up, but the php is just skipped over, as if it's not there. so i think apache is recognizing it, but since it can't call php, it just leaves that part out.

so, does anyone know where/if there are any sample conf files, that i could look at, at this point, i think that's where my problem is, and i'm perfectly willing to go over them line by line to get this to work right, if that's what it's gonna take.

if someone else has any ideas, please let me know.

thanks in advance.

oh, i'm running xp and firefox, if that matters. and the versions of php and apache are the latest general releases.

josh

tsinka
01-16-2005, 04:25 AM
Hi,

the installation section of the PHP manual contains exactly the lines you need to add to httpd.conf in order to enable the PHP extension (LoadModule and AddType directives).

Alternatively, have a look at www.xampp.org

That's an easy to install WAMPS package that come with both PHP4 and PHP5 (and much more).

Thomas