?
Solved

PHP on Apache 2.0.x (Win32)

Posted on 2005-02-27
5
Medium Priority
?
383 Views
Last Modified: 2010-03-04
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
Comment
Question by:Bolter99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 19

Accepted Solution

by:
Barthax earned 300 total points
ID: 13415794
You need to load the module into Apache via a LoadModule line similar to:

LoadModule php5_module "e:/php/php5apache2.dll"
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 13415931
Also you need to copy php...dll files to apache/bin directory
0
 
LVL 1

Author Comment

by:Bolter99
ID: 13417413
What ones though lol...
0
 
LVL 1

Author Comment

by:Bolter99
ID: 13417430
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
 
LVL 1

Author Comment

by:Bolter99
ID: 13417499
Never mind, i figured it out. Thanks a lot you two!
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question