I've been wanting to learn PHP for some time now, but the problem is that I wanted to do it on my server, rather than pay someone else.. So, what I've managed to do so far is buy a bunch of books about Apache2 and PHP.
Apache is installed and running (correctly, I'm pretty sure). I've tried to change the config file, with no luck.
I added this:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
(where it said AddType)
And
LoadModule php5_module modules/libphp5.so
(under the LoadModule part).
It still doesn't work! When I try to open a test PHP file, Firefox asks me which application I would like to use to open it.
By the way I'm running Fedora Core 4, if it helps any.
What should I do?