anorakgirl
Programmer
hi,
sorry, i'm sure this is a really common question, but i can't seem to resolve it. i've just installed php on a second redhat box, and as far as i can tell i've done everything the same as the first one on which it works, but it doesn't - when i try to request a php file, it just gets served as text i.e. the php isn't processed.
here's what i've checked:
libphph4.so is in the right place
my httpd.conf has the following lines:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
and later:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
don't get any errors when i start apache or anything, can't think of anything else to check. i'm not even sure how to tell where the problem is, i.e. is apache is loading the php4 module at all, or it it just something in my config file not telling it to parse the files or something.
anyone suggest what i should be checking?
thanks!
~ ~
sorry, i'm sure this is a really common question, but i can't seem to resolve it. i've just installed php on a second redhat box, and as far as i can tell i've done everything the same as the first one on which it works, but it doesn't - when i try to request a php file, it just gets served as text i.e. the php isn't processed.
here's what i've checked:
libphph4.so is in the right place
my httpd.conf has the following lines:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
and later:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
don't get any errors when i start apache or anything, can't think of anything else to check. i'm not even sure how to tell where the problem is, i.e. is apache is loading the php4 module at all, or it it just something in my config file not telling it to parse the files or something.
anyone suggest what i should be checking?
thanks!
~ ~