I use Fedora 17 on my laptop, and I am trying to do some web development work on it. I have installed Apache, MySQL and PHP on the laptop (following this guide when it comes to what software to install: http://www.howtoforge.com/perfect-server-fedora-10-p5
). I can load web pages, but I am unable to load PHP pages properly. All that happens is that the actual code of the of the script is displayed in browser.
I've checked to see if mod_php is installed, and it is. I thought that maybe PHP was turned off globally, but I don't think it is. I must stress actually, that although the guide that I put the link to on this post does talk about turning PHP globally off, I haven't done this. I have just installed the software. But anyway, I have tried to look for the php.conf files in the httpd/conf.d directory, but nothing is there.
I'm quite confused about why it's not working. I remember having a similar issue before, but that was back in 2009, and I haven't experienced this problem since.
Can anyone help?
Many thanks in advance!
Forgot to mention, I have also created a file with <?php phpinfo(); ?> in it, and the browser just renders the code, and no information. PHP is installed, as trying to do a "yum install php" and related packages just says that it's been installed.