I recently got given an old G4 Power Mac running Panther as the owner upgraded to a Mac Mini, and I thought it would be cool to turn it into a home webserver. I was pretty relieved when I found out that this could be done without shelling out for OS X Server Edition, and promptly went about activating web sharing and getting DynDNS to put it on the web.
My ultimate aim is to be able to run a forum on this server, and I therefore need MySQL and PHP up and running on it. I installed MySQL, and I set to work trying to activate PHP. I tried editing the default httpd.conf file for Apache but to no avail (the tutorial I followed was the O'Reilly Media one found here most notably, but I tried everything I could find on google tbh, that seemed the most in depth guide and included everything I found elsewhere). I've followed all the instructions but PHP still won't seem to activate, the test file detailed doesn't display properly, and when I try to install SMF (the forum I want to use), the page doesn't display properly and I get the message that I don't have PHP.
I therefore gave that one up and tried WebServerX Kit, which looked good as it included a newer version of Apache (2 as opposed to the 1.3 *I think* that comes as standard on OS X 10.3), MySQL and PHP 5, also had the advantage that I got a handy Pref Pane in System Preferences to work with. Downloaded and installed this, still I got the same problem when I tried to install SMF: no PHP. I therefore decided to see if I could make this work by editing the httpd.conf file for the newer version of Apache, I thought it should work straight off but thought this worth a try. I again used the O'Reilly Media guide linked above to guide my changes. Still nothing.
Looking at the whole series of articles on O'Reilly media (the one linked above is only on PHP, and part of a larger series of 6 articles on general web-serving on OS X, the directory of all 6 articles can be found here), I thought that maybe something else was the problem, possibly all this mention of CGI, maybe even SSI (though I doubted this one). So I went back to my httpd.conf file for Apache 2 and followed all these steps as well, still nothing. Thinking that maybe the default httpd.conf file for the pre-installed Apache 1.3 was still the active one, I again followed all these new steps on this older .conf file. Still nothing.
I'm honestly lost, I've tried literally everything I can see would be the problem, and looking at both .conf files and comparing them to all online guides I can find, PHP should be up and working. Does anyone know where I could be going wrong? I've spent hours trying to get this running and am kinda loth to give it up now.
My ultimate aim is to be able to run a forum on this server, and I therefore need MySQL and PHP up and running on it. I installed MySQL, and I set to work trying to activate PHP. I tried editing the default httpd.conf file for Apache but to no avail (the tutorial I followed was the O'Reilly Media one found here most notably, but I tried everything I could find on google tbh, that seemed the most in depth guide and included everything I found elsewhere). I've followed all the instructions but PHP still won't seem to activate, the test file detailed doesn't display properly, and when I try to install SMF (the forum I want to use), the page doesn't display properly and I get the message that I don't have PHP.
I therefore gave that one up and tried WebServerX Kit, which looked good as it included a newer version of Apache (2 as opposed to the 1.3 *I think* that comes as standard on OS X 10.3), MySQL and PHP 5, also had the advantage that I got a handy Pref Pane in System Preferences to work with. Downloaded and installed this, still I got the same problem when I tried to install SMF: no PHP. I therefore decided to see if I could make this work by editing the httpd.conf file for the newer version of Apache, I thought it should work straight off but thought this worth a try. I again used the O'Reilly Media guide linked above to guide my changes. Still nothing.
Looking at the whole series of articles on O'Reilly media (the one linked above is only on PHP, and part of a larger series of 6 articles on general web-serving on OS X, the directory of all 6 articles can be found here), I thought that maybe something else was the problem, possibly all this mention of CGI, maybe even SSI (though I doubted this one). So I went back to my httpd.conf file for Apache 2 and followed all these steps as well, still nothing. Thinking that maybe the default httpd.conf file for the pre-installed Apache 1.3 was still the active one, I again followed all these new steps on this older .conf file. Still nothing.
I'm honestly lost, I've tried literally everything I can see would be the problem, and looking at both .conf files and comparing them to all online guides I can find, PHP should be up and working. Does anyone know where I could be going wrong? I've spent hours trying to get this running and am kinda loth to give it up now.