Re: linux 7 problems
| From: | Jeremy Wadsack | Date: | Fri, 05 Oct 2001 16:36:16 +0000 |
| Subject: | Re: linux 7 problems | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4519@lists.php.net to get a copy of this message | ||
rg (rg@evolutionaryart.com):
> when i try to access a .php file, it tries to save it to disk.
It does this because it doesn't know how to handle the type of file.
So it sends it across to your browser as a generic application file.
This means that your web server has not been configured to run PHP for
.php files.
> i changed the httpd.conf file already.
Make sure that you have this line in your httpd.conf (I assume you do,
but just in case...):
AddType application/x-httpd-php .php
Then restart Apache. You can usually use apacheadmin command if it's
installed:
apacheadmin reload
Otherwise you can call the startup script, probably
/etc/init.d/apache, /etc/init.d/httpd, /etc/rc.d/init.d/apache, or
/etc/rc.d/init.d/httpd. Include the command line option 'reload':
/etc/init.d/apache reload
HTH
--
Jeremy Wadsack
Wadsack-Allen Digital Group