If you don't have access to the .conf file.. you can always add the
AddType to the .htaccess file.

Just a thought.

Aaron

-----Original Message-----
From: Chris Hewitt [mailto:[EMAIL PROTECTED]] 
Sent: December 2, 2002 4:00 PM
To: marco penca
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] starting with php

marco penca wrote:

> hello, i hope you can help me, maybe is a very simple thing but i dont

> see it,
> i set up several programs in php with mysql. every time i call them my

> server starts a download instead to show the html page. is this the 
> apache, is this the php, what changes shoul i make?
>
> thanks in advance..
> marco 

Apache only knows what to do with a file with the ".php" extension by a 
suitable AddType line in httpd.conf. Otherwise the default is to offer 
it for download or display the source.

HTH
Chris

>


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




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

Reply via email to