Help! I think I've corrupted the original apache on OS X Server

Plastical

Registered
Hi to everyone, I', stuck with installing apache, mysql and php... I mad the big error to install the php4 library of Marc Liyniage which corrupted my original apache version on my os x server... I'd like to know if there is a way to come up and solve all my troubles... Anyone does know how??? I'm working are two weeks and still no way :-((((

I'd happy also for a good and a simple tutorial...

Thanks:)
 
Sorry... This is the error I got trying to start the web server:

Syntax error on line 37 of /private/etc/httpd/httpd_macosxserver.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration
 
Hi,

During your attempted installation of PHP, the installation probably already made the configuration file changes to load the php modules, and when the modules weren't there to load, it complained...

Solution:

edit this file

/private/etc/httpd/httpd_macosxserver.conf

Goto the line 37 and comment it out (put # in front of it)

then try again... it might complain a second time about add module line it can't load, repeat the above directions.

Another Solution:

Look in the /private/etc/httpd directory and see if a back up of the httpd_macosxserver.conf.bak or something similar was made. If so, the rename it back to the its original name and then retry it.

Hope this helps, but you have to give a bit more information like what you did when you tried to install, what happened, and why it didn't work, etc... Basically paint us a picture of what you did so that we can figure out how to undo it.

BSDimwit
 
it is not a good idea to edit the httpd_macosxserver.conf file. that is a document used by the ServerAdmin app to store the setting that are commented out in the acutal httpd.conf doc.

read the MacOSX server manual's section on Server Admin and specifically the the area dealing with the WebAdmin... you dont want to mess with that document.

I dont have a solution for you, but I think you should know that you are treading in a very dangerous zone.
 
Back
Top