RE: [PHP-INST] starting with php
| From: | Aaron Wolski | Date: | Mon, 02 Dec 2002 20:59:45 +0000 |
| Subject: | RE: [PHP-INST] starting with php | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9292@lists.php.net to get a copy of this message | ||
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:g0pae@manordat.demon.co.uk]
Sent: December 2, 2002 4:00 PM
To: marco penca
Cc: php-install@lists.php.net
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