Re: Re: Uninstalling PHP?
| From: | Jochem Maas | Date: | Mon, 01 Mar 2010 14:11:09 +0000 |
| Subject: | Re: Re: Uninstalling PHP? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302437@lists.php.net to get a copy of this message | ||
Op 2/28/10 12:08 AM, Austin Powers schreef:
> ""Austin Powers"" <AustinPowers@pobox.com> wrote in message
> news:CA.B0.29124.619A88B4@pb1.pair.com...
>> Three weeks ago I was working through the Lynda.com "PHP with MySQL
>> Training" because I wanted to begin using PHP (surprise, surprise).
>>
>> Anyway, on this video course the teacher explains that because installing
>> PHP and MySQL is so well understood on a Mac that we may as well just
>> follow
>> his steps and do it manually. Well, he is installing a different version
>> of
>> PHP and MySQL to the ones that I was able to download and while what he
>> was
>> saying way somewhat similar I am guessing that there is a difference
>> somewhere, and (well) it's not working.
>>
>> I AM A COMPLETE NOVICE WITH LINUX/FREEBSD. It had not been my intention
>> to
>> learn the intricacies of Linux. However, I am now neck deep in a mire of
>> confusion that even MAMP can't seem to sort out for me.
>>
>> It is purely a guess that I need to start again from a complete clean
>> setup
>> (reformatting my hard disk and reinstall OS X again) but that is pretty
>> much
>> out of the question.
>>
>> I guess my question is:
>>
>> "How can I completely uninstall PHP so that I can start again?"
>>
>> Thanks.
>>
>
>
> I did a:
>
> find / -name 'apachectl' 2. /dev/null
>
> and it came back with:
>
> /usr/sbin/apachectl
> /Applications/MAMP/Library/bin/apachectl
Mac OS X has an install of apache by default, the control script for that
is:
/usr/sbin/apachectl
if your installing MAMP (or a custom setup) you'll want to deactivate the default
installation ... go to System Preferences > Sharing then turn off "Web Sharing"
if you want to deinstall MAMP there should be a deinstaller program in /Application/MAMP,
once you've run that you can just delete that whole directory. then you can try to install
again by mounting the MAMP .dmg file and running the installer.
>
> so I do:
>
> cd /Application/MAMP/Library/bin
>
> and then:
>
> ./apachectl graceful
>
> and it came back with:
>
> httpd not running, trying to start
> (13) permission denied: make_sock: could not bind to address {::]:80
> (13 permission denied: make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
this is a permissions thing - you need to run the command using sudo (as explained in
another post)
>
> Does this mean that httpd is not running, and that I need to make some
> change to the httpd.conf file? If so, then what changes do I need to make?
>
>
>