• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

PHP on Apache 2.0.x (Win32)

How do i get my php scripts to run on my apache web server?

I added "AddType application/x-httpd-php .php" to the httpd.conf file and it made no difference.

The php scripts are downloading when their navigated to. Please help.

Bolter99
0
Bolter99
Asked:
Bolter99
  • 3
1 Solution
 
BarthaxCommented:
You need to load the module into Apache via a LoadModule line similar to:

LoadModule php5_module "e:/php/php5apache2.dll"
0
 
ramazanyichCommented:
Also you need to copy php...dll files to apache/bin directory
0
 
Bolter99Author Commented:
What ones though lol...
0
 
Bolter99Author Commented:
I added the following to the httpd.conf file...

AddType application/x-httpd-php .php
LoadModule php4_module "c:/php/sapi/php4apache2.dll"

Still no change.
0
 
Bolter99Author Commented:
Never mind, i figured it out. Thanks a lot you two!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now