|
#1
| |||
| |||
| PHP just stopped working I updated to 10.2.4 and sometime later went back to an old project which is PHP working with MySQL an the built in Webserver. I also changed my hostname. The website works, but when a PHP script is run the contents of the PHP file are printed into the browser window rather than it being executed. Any ideas? Anbody run into this before. Thanks in advance |
|
#2
| ||||
| ||||
| Your apache file was renamed to httpd.conf.appleupdate or something similar. Look in the /etc/httpd/ directory, and if this is the case, simply remove the new one and rename the old one, or edit the new one if you're worried about updates.. As far as I know the httpd config file doesn't change, because they haven't updated the apache dist. used
__________________ PowerMac G5 Dual 2.0Ghz | 1Gb | 250Gb | Bluetooth | NVidia GeForce 6800 Ultra DDL 256Mb | 20" Cinema Display | MX1000 Wireless Laser Mouse | OS X 10.3.9 PowerMac G4 400Mhz | 832Mb | 40Gb + 120Gb | OS X Server 10.3.8 - Web Dev, Proxy, Mail, NAT, Firewall, Backup Netgear Gigabit Switch | Sony Ericsson P910i Smartphone | iPod Colour 60Gb |
|
#3
| |||
| |||
| A direct hit !!!! Thanks a bunch Pengu, nice going. I looked at the httpd.conf, but never noticed that it had been replaced and so it was. Cheers |
|
#4
| ||||
| ||||
| Actually, there were changes to the httpd.conf. The big one is the addition of Rendezvous support. With mod_rendezvous.so, a 10.2.4 webserver will show up in Safari's Rendezvous bookmarks. I don't know that there were any other major changes, though... |
|
#5
| |||
| |||
| Whatever changes they made, it screwed my Webserver. I'll do a diff on the the versions and put the new changes in manually. Thanks for the info |
|
#6
| ||||
| ||||
| Yep. It seems to happen with every update. At least they leave an httpd.applesaved out there for you to repair the 'damage' though. I guess I'd rather that than to have the webserver come up in some weird, insecure state, but I know that I'm not soon going to update my webserver from 10.2.3. I just don't have the time to futz with it... ![]() |
|
#7
| |||
| |||
| Apple automatically updating /etc/http/httpdd.conf Apple shouldn't really be updating Public Domain a config files, without telling anybody. Its obviously been done on purpose, but makes do-do out of change control. There are many people out there that know more about Apache than Apple does. |
|
#8
| |||
| |||
| funny/odd This overwriting of config files doesn't happen to the OSX Server updates, just the reg version of OSX. |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Volume & Eject keys on keyboard stopped working with 10.3 | Anthony | Hardware & Peripherals | 8 | May 27th, 2004 02:24 PM |
| iChat and Mail stopped working after Panther installation | macfreak88 | Mac OS X System & Mac Software | 0 | October 19th, 2003 01:39 PM |
| PHP Not Working in 10.3 | rhale1 | Mac OS X System & Mac Software | 10 | July 22nd, 2003 10:41 AM |
| XMMS stopped working | dgill | Unix & X11 | 1 | June 22nd, 2003 09:37 PM |
| is php working? | .jeremy_a> | Design & Media | 4 | January 31st, 2003 05:05 PM |