image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old April 3rd, 2003, 04:15 AM
Registered User
 
Join Date: Jan 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
glenfarclas is on a distinguished road
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
Reply With Quote
  #2  
Old April 3rd, 2003, 04:33 AM
Pengu's Avatar
Digital Music Pimp
 
Join Date: Nov 2002
Location: Um.. Here.
Posts: 1,591
Thanks: 0
Thanked 0 Times in 0 Posts
Pengu is on a distinguished road
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
Reply With Quote
  #3  
Old April 3rd, 2003, 04:54 AM
Registered User
 
Join Date: Jan 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
glenfarclas is on a distinguished road
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
Reply With Quote
  #4  
Old April 3rd, 2003, 08:51 AM
kenny's Avatar
Registered User
 
Join Date: Sep 2000
Location: Concord, NC
Posts: 499
Thanks: 0
Thanked 0 Times in 0 Posts
kenny is on a distinguished road
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...
Reply With Quote
  #5  
Old April 3rd, 2003, 09:46 AM
Registered User
 
Join Date: Jan 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
glenfarclas is on a distinguished road
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
Reply With Quote
  #6  
Old April 3rd, 2003, 10:09 AM
kenny's Avatar
Registered User
 
Join Date: Sep 2000
Location: Concord, NC
Posts: 499
Thanks: 0
Thanked 0 Times in 0 Posts
kenny is on a distinguished road
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...
Reply With Quote
  #7  
Old April 8th, 2003, 08:31 AM
Registered User
 
Join Date: Apr 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ginantonic is on a distinguished road
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.
Reply With Quote
  #8  
Old April 8th, 2003, 05:35 PM
hunger buster
 
Join Date: Oct 2001
Location: out there... somewhere
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
xegan is on a distinguished road
funny/odd

This overwriting of config files doesn't happen to the OSX Server updates, just the reg version of OSX.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

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


All times are GMT -5. The time now is 12:56 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.