Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[b]Apache doesn't recognize PHP[/b]

Status
Not open for further replies.

aas1611

Programmer
Dec 14, 2001
184
DE
Hi all,

I have installed PHP 5.1.2, I'm using Apache 1.3.26 on my Windows XP. After I run my phptest.php, my Apache doesn't recognize this php file. I have done everything what's on the manual.

(Before this, I used WebServ software, that configured everything automatically for me. Now that I want to learn and upgrade to PHP5, I want to configure it manually).

Can Apache 1.3.26 work with PHP 5 at all? If yes, are there aspects that I might overlook?

Here are steps I've done (based on that manual):
1. copy php.ini to c:\windows\
2. copy php5ts.dll into c:\program\apache group\apache\bin\
3. Write down the following on the Apache's httpd.conf:

LoadModule php5_module c:/php/php5apache.dll
AddType application/x-httpd-php .php3 .php
AddType application/x-httpd-php-source .phps

So, can anyone help me?

Thanks soo much!

Andre
 
If you want to spend more time working and less time configuring may I suggest something like XAMPP from apachefriends.org or some other like minded package installer.
 
[g]guelphdad[/b]:
That would kind of fly in the face of "Now that I want to learn and upgrade to PHP5, I want to configure it manually", wouldn't it?

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top