Hi,

I'm trying to get PHP4 to run on my localhost. I got apache running. 
PHP3 is also running. But if I try to launch a .php file containing
sinply "phpinfo()" a window pops up saying "Save as...(Type
application/x-httpd-php)".

Here are the -as I think- relevant httpd.conf bits:


Global Environment
<IfDefine PHP>
LoadModule php3_module /usr/lib/apache/libphp3.so
</IfDefine>
<IfDefine PHP4>
LoadModule php4_module /usr/lib/apache/libphp4.so
<IfDefine>
..
..
..
<IfDefine PHP>
AddModule  mod_php3.c
</IfDefine>
<IfDefine>
AddModule  mod_php4.c
</IfDefine>

Main Server configuration

..
document types
..

<IfDefine PHP>
AddType applixation/x-httpd-php3.php3
AddType applixation/x-httpd-php3-source .phps
AddType applixation/x-httpd-php3 .phtml
</IfDefine>

<IfDefine PHP4>
AddType applixation/x-httpd-php .php
AddType applixation/x-httpd-php .php4
AddType applixation/x-httpd-php-source .phps
</IfDefine>

That's it. Do I have to set a Script-Alias? What do I have to Do???

Thanks in advance

Otis

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to