• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

file to automatically install httpd.conf

You know what they say about idiots with guns?

now I am not saying your an idiot I just wanted to say that.
But i do think you shouldn't bother with PHP if you can't handle simple windows systems
 
lol.

yeah, i didnt really get what u meant cuz i didnt really get it

yeah htdocs is the folder, it said, and i did place it there but
my computer doesnt want to run .php files... i dunno why, they dont open and they dont open in browsers er anything..
 
ok apache is working fine, because localhost/hello.html works fine

but localhost/hello.php just doesnt open

when i do that it opens up a download window and says downloading files er some shit

maybe php never installed right.. ? i dunno help me out
 
open httpd.conf in notepad and find the following :-


# For example, the PHP 3.x module (not part of the Apache distribution - see
# http://www.php.net) will typically use:
#
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
#
# And for PHP 4.x, use:
#
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps

AddType application/x-tar .tgz


and add the following after it :-


# For example, the PHP 3.x module (not part of the Apache distribution - see
# http://www.php.net) will typically use:
#
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
#
# And for PHP 4.x, use:
#
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps

AddType application/x-tar .tgz

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php3 .phtml .phps
Action application/x-httpd-php "/php/php.exe"


thats exactly what i did...
 
Thats good,,,,,,, but are you sure you extracted your PHP in the folder c:\php ..... if not extract it in C:\php
 
Back
Top