Hello:
I'm sure there's an easy solution to this, but damned if I can find it!
We're running Apache 2.2.10 on SUSE Linux 11. Apache seems to be running okay (i.e. I can get to the "It works!" page) but when I try to load a .php file, the browser wants to download it.
I have mod_php5.so loaded in loadmodule.conf:
LoadModule ssl_module /usr/lib64/apache2-prefork/mod_ssl.so
LoadModule suexec_module /usr/lib64/apache2-prefork/mod_suexec$
LoadModule userdir_module /usr/lib64/apache2-prefork/mod_userdi$
#Added below 2/16
LoadModule php5_module /usr/lib64/apache2/mod_php5.so
and it seems to be running (from apache2ctl -M):
ssl_module (shared)
suexec_module (shared)
userdir_module (shared)
php5_module (shared)
Syntax OK
I have restarted Apache, but that doesn't help. Some information I found said to add AddType application /x-httpd-php .php to httpd.conf, but that seems to be for an older version of Apache.
Any ideas? Thanks in advance for any help!
veg
I'm sure there's an easy solution to this, but damned if I can find it!
We're running Apache 2.2.10 on SUSE Linux 11. Apache seems to be running okay (i.e. I can get to the "It works!" page) but when I try to load a .php file, the browser wants to download it.
I have mod_php5.so loaded in loadmodule.conf:
LoadModule ssl_module /usr/lib64/apache2-prefork/mod_ssl.so
LoadModule suexec_module /usr/lib64/apache2-prefork/mod_suexec$
LoadModule userdir_module /usr/lib64/apache2-prefork/mod_userdi$
#Added below 2/16
LoadModule php5_module /usr/lib64/apache2/mod_php5.so
and it seems to be running (from apache2ctl -M):
ssl_module (shared)
suexec_module (shared)
userdir_module (shared)
php5_module (shared)
Syntax OK
I have restarted Apache, but that doesn't help. Some information I found said to add AddType application /x-httpd-php .php to httpd.conf, but that seems to be for an older version of Apache.
Any ideas? Thanks in advance for any help!
veg