Hi ya all people out there,
I'm also having the same problem. I can't get my apache server to recognize the .php extensions.
Some help from any of you guys in here will be greatly appreciated.
I have selected the server package for my installation of RedHat 9. I know that my Apache webserver, PHP and mysql. Already pre-installed when I installed the RH9.
I have also tried configure the httpd.conf in the /etc/httpd/conf/
Adding the lines in below. Still with no luck.
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .php4 .phtml
AddType application/x-httpd-php-source .phps
I'll have already restarted the service everytime I edit some lines.
I notice by default install of RH9 my php.ini file is in /etc/ directory.
I'm assuming that's normal.
I'll also tried setting the register_globals = ON <--- So, with no luck. So I left it as default: register_global = OFF
At this point I'm running out of idea's what to do next. Can anyone please help me?
This is what I have in my RH9:
# php -v
# which php
# rpm -aq|grep php