Skip to main content
gamedev.net
🔒 Locked

PHP and Apache???

Started by Spartacus 0 replies 550+ views
Original Post
Spartacus
Spartacus
Hey! I know this might not the the proper place to ask this question, but does someone know how to get PHP to work with the Apache Web Server??? I just cant get it to work, and to be honest, I don''t really know what to do to make it work. Apache is working fine though! Thanks in advance, Spartacus

Real programmers don''t document, if it was hard to write it should be hard to understand

Real programmers don't document, if it was hard to write it should be hard to understand
llyod
llyod
In my setup, I have the following in the httpd.conf file:


DirectoryIndex index.html index.php


ScriptAlias /cgi-bin/ "H:/Web/Apache/Apache/cgi-bin/"
ScriptAlias /php/ "H:/Web/Apache/PHP4/"

AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

This works fine for me. Hope it helps!

2DNow - Yesteryears technology at your fingertips!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.