I have been beating my head against the wall for 12 hours, I can't figure out how I screwed up the php in my Apache2.... PHP4 and Apache2 are installed, using the perfect setup for debian - see page 5 (
http://www.howtoforge.com/perfect_setup_debian_sarge_p5)
The problem is, apache does not seem to recognize the php file as something it needs to process, it just tries to send the php file directly to the browser.
I had PHP5 installed and removed it, installed PHP4 using above method... there was nothing in the /etc/apache2/mods-available/ as far as php4.load or php4.conf, but the files php5.load and php5.conf were there, i cp'd them to php4.conf & .load and changed the content so they said 4 instead of 5... then made a sym link from mods-avail to mods-enabled for them and restarted apache2 .... nothing....
how would I completely remove all traces of apache, apache2, php4, php5 and do a clean install without redoing the whole box? it is like 50 miles away from me and is being used as a company fileserver (samba) and I was going to create an intranet for them, but just cant get php to work right...
it is running debian sarge, also with postfix/courier, pretty much exactly the way the perfect setup lays it out, but I installed this box a long time before I ever read these tutorials...
Recent comments
2 days 5 hours ago
2 days 13 hours ago
2 days 16 hours ago
2 days 18 hours ago
2 days 19 hours ago
2 days 21 hours ago
2 days 22 hours ago
2 days 23 hours ago
3 days 15 hours ago
3 days 16 hours ago