php-general Digest 28 Feb 2010 18:46:36 -0000 Issue 6614

Topics (messages 302428 through 302429):

Re: Uninstalling PHP?
        302428 by: Austin Powers
        302429 by: Colin Guthrie

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
""Austin Powers"" <austinpow...@pobox.com> wrote in message 
news:ca.b0.29124.619a8...@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

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

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? 



--- End Message ---
--- Begin Message ---
'Twas brillig, and Austin Powers at 27/02/10 23:08 did gyre and gimble:
> ""Austin Powers"" <austinpow...@pobox.com> wrote in message 
> news:ca.b0.29124.619a8...@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
> 
> 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
> 
> 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? 

You are probably not privileged enough (as a user) to do this. You
likely want to pass it through "sudo" first.

e.g. sudo ./apachectl graceful.

You should be prompted for you *user* password. If you user is allowed
to administer the machine, you should become root temporarily and run
the command.

If you run several sudo commands in relatively quick succession, you
wont have to type your password in again.

Col



-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]


--- End Message ---

Reply via email to