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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installation Problems.

Status
Not open for further replies.

lck092580

Programmer
Joined
Jun 19, 2002
Messages
440
Location
CA
Hi,

I've installed the Apache server v1.3.x onto my Windows XP pro and have also installed php subsequently after that. I am confused as to why IE is always asking me if I'd like to download any pages I try to access that has a .php extension. Can anyone point me in the right direction to correct this? I've checked the faq on php.net but could not find an answer.

Thanks.

T
 
PHP is not recognized by apache...

add this line to the apache config file (httpd.conf)

AddType application/x-httpd-php .php .phtml

It's also common to setup the .phps extension to show highlighted PHP
source, this can be done with:

AddType application/x-httpd-php-source .phps


Bastien

Any one have a techie job in Toronto, I need to work...being laid off sucks!
 
Hi,

I actually have that in my .conf file already. Any other ideas?

T
 
did you 'apachectl restat'ed after the modification of httpd.conf?
 
Yeah... I've tried that already.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top