Apple did it again!

John Korchok jkorchok at hotmail.com
Thu May 29 16:53:53 PDT 2008


Hi All,

Once again, the latest security patch 2008-003 for Tiger broke our Apache 2
installation by replacing apachectl. Earlier posts on this topic are
repeated below for any new listers:

>>> Subject: Tiger software update replaces apachectl
>>> 
>>> I found out (the hard way) that the latest Apple Security 
>>> Update 2008-002 for Tiger replaces the apachectl file in 
>>> /usr/sbin. If, like me, you had copied the apachectl file 
>>> from /opt/local/apache2/bin to /usr/sbin (this enables you to 
>>> turn Apache on and off using the System 
>>> Prefs/Sharing/Personal Web Sharing), you will find that the 
>>> next time you restart Apache, things go haywire, like none of 
>>> your PHP works any more.
>>> It's because your system has reverted to the Apache 1.3 that 
>>> comes with Tiger.
>>> 
>>> John Korchok

>> Are there other steps to making Personal Web Sharing run Apache2?  If
>> so, could you please detail them for those of us who just can't remember
>> anything?
>>
>>
>> In A Chord,
>>
>> Tom Condon

> If you are comfortable with the command line, all you need to do is to
link
> to the installation of apache that you want to control from the preferance
panes.
>
> 1. $cd /usr/sbin
> 2. $mv apachectl apachectl1-3
> 3. $ln -s /opt/local/apache2/bin/apachectl apachectl
>
> when you list the directory it should give you something like this:
> ...
> apachectl -> /opt/local/apache2/bin/apachectl
> ...
> and you should now be able to control macports apache2 from you preference
pane.
> Matt Hipley



More information about the macports-users mailing list