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

In Firefox code appears instead of HTML, IE wants to open it

Status
Not open for further replies.

YellowOnline

Technical User
Mar 31, 2004
144
BE
Hello people,

I'm taking my first steps at PHP, running a local Apache server. Things start bad though: when I try to open my php, IE gives me an "Open" or "Save" choice - it just won't open it, nor as a link, nor directly.
On Mozilla Firebird just my php-code appears, as if it hasn't been parsed.

The part I added to httpd.conf:
Code:
ScriptAlias /php/ "d:/# web #/php"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"

PHP version: 5.0.2; Apache version: 2.0.52-win32-x86-no_ssl

BTW, running XPPro (had to say farewell to Win2000).. I've had some issues to install Apache as a service.

Anyone? Thanks in advance!

Peace,

Yellow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top