I've tried to install PHP by downloading the .gz file from another computer, transferring it over to the Linux PC, and doing the tar, ./configure, make, and make install process.
But I dun goof'd somewhere.
Loading any PHP pages shows the PHP codes, as opposed to the proper website. Now, I tried a lot of things to get this working, and even asked a question about it, but so far, no luck. Strange that it works on the command line, but the browser fails to display it.
The one and only time I got PHP working was when I used yum to get it. So I want to try that again.
However, I'm not sure of the consequences of doing a yum install php when PHP is already installed on my system.
What I've Tried:
My attempts to correct the "Display PHP codes" problem is a long list, but to summarize:
- Re-installed PHP (using make, the very same installation I want to get rid off now)
- Configure httpd.conf - with varying results. Modifying the httpd.conf file absolutely breaks apache, for some reason.
As for my problems regarding getting rid of the existing PHP:
- I've tried going into the directory where I extracted the php stuff, and typing in
make uninstall, but that only returned
No rule to make target 'uninstall'. Stop.
- Fedora 19 x86_64
- Oracle 11g
- Apache 2.4.6
I hope someone can help, and a thanks in advance for any who will. This problem has gone on for far too long.