First off, which conf file did you use for apache 2.X

You'll notice that there are several of them in the */conf directory:

LoadModule php4_module        modules/libphp4.so

DirectoryIndex index.html index.html.var index.htm index.php

AddType application/x-httpd-php .php .phtml .php3 .inc .pinc
AddType application/x-httpd-php-source .phps


# Stephen Reese
# 1204 NW 34TH ST
# Gainesville, Fl.
# [EMAIL PROTECTED]

-----Original Message-----
From: Tom Tsongas [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 5:54 PM
To: [EMAIL PROTECTED]
Subject: File Download instead of script execution


Hey folks.

I just loaded the latest Apache (v.2.0.44) and PHP (v.4.3.1) onto my SUN

box running Solaris 8. Apache starts just fine but when I attempt to 
launch a PHP script, I get a file download dialog box instead of having 
the script execute.

I had Apache 1.3.20 and PHP 4.0.4 running on several systems at my 
disposal and never encountered this issue before. I thought that maybe 
it was the MIME setting but I have that set correctly from what I can
see:

AddType application/x-httpd-php .php

I saw some previous threads regarding the LoadModule issues but those 
were Windows installs. I compiled and configured PHP to load as a static

module.

Any ideas folks?
- Tom Tsongas




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to