Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas, linux raid resync after reboot

Links

XODOX
Impressum

#1: PHP files get served, not interpreted.

Posted on 2008-04-23 23:35:07 by Matt Fries

I'm trying to get a grasp of apache under opensuse 10.2. Yast seems to
be either wrong, or fighting me. In an attempt to straighten out my
virtual hosts, I uninstalled apache and php and started over with new
config files.

I can finally seem to serve HTML files, but my browser wants to DOWNLOAD
AND SAVE the .php files, instead of the preprocessor using them to
generate HTML. The PHP INFO page works, so I can assume that the
preprocessor is actually running. Also, my web browser can go to other
php sites and it works just fine.

I think there is some config file that got reset or wiped out, and I'm
not sure what it could be. I'm thinking it might have something to do
with the mime types. What should the mime type for a php5 page be?

Is there some other directive that would cause me to try to download or
view a php file instead of running it?

Also, I've nearly given up on Yast. Does anyone suggest a better way of
dealing with apache config files on opensuse 10.2?

Thanks.

Report this message