[NTLUG:Discuss] Newbie question re: apache2, php, etc
Fred
fredstevens at yahoo.com
Fri Feb 6 22:49:28 CST 2015
Long back story but it boils down to I have a server that has a
lot of php files and after much reading and configuration, etc I
ran across this tidbit:
In case the browser wants to save your php files instead of displaying
the content, you should enable php support in the /etc/apache2/mod_
userdir.conf file. Add the following line to it, just after the
<Directory /home/*/public_html> line and restart the server.
Include /etc/apache2/conf.d/php5.conf
If you're still unable to get to the page or are getting error pages instead
please <seek> help.
============
Well, DUH!
Ok, I think that I have everything installed, configured and running but
when I try to open a php file with firefox it still wants to save the files
instead of displaying them. I have tried running firefox as both a user
and as root, no difference. My limited knowledge has been exceeded
and now I am following instructions and asking for help.
I really would like the php files to render in my browser and, hopefully,
anyone else's browser that goes there.
Thanks,
Fred
opensuse 12.3
apache2 2.2.29
perl 5.16.2
More information about the Discuss
mailing list