rg ([EMAIL PROTECTED]):

> 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


-- 
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