Uninstalling PHP?
am 27.02.2010 06:09:34 von Austin Powers
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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Uninstalling PHP?
am 27.02.2010 08:05:45 von Skylinux
On 02/27/2010 06:09 AM, Austin Powers wrote:
> 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?"
Hello,
Someone should be able to help you if you can provide us with the steps
you tried and where you failed.
--
John
Der unmündige Untertan ruft die Polizei. Der mündige Bürger informiert
seinen Anwalt.
[Nikolaus Cybinski]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Uninstalling PHP?
am 27.02.2010 08:28:40 von Lester Caine
Austin Powers wrote:
> "How can I completely uninstall PHP so that I can start again?"
Not knowing the Mac I'm fishing ;)
How did you INSTALL PHP? We normally do this via a 'package manager' of some
sort, where you find the 'PHPxx' and select it. Uninstalling is simply a matter
of 'deslecting' it.
If you loaded this from a 'command line' script then I would think that perhaps
this is a book that needs a health warning :(
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Uninstalling PHP?
am 27.02.2010 13:26:11 von Ashley Sheridan
--=-O2GBQQn7b1x5/epvEVdF
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Sat, 2010-02-27 at 07:28 +0000, Lester Caine wrote:
> Austin Powers wrote:
> > "How can I completely uninstall PHP so that I can start again?"
>
> Not knowing the Mac I'm fishing ;)
> How did you INSTALL PHP? We normally do this via a 'package manager' of some
> sort, where you find the 'PHPxx' and select it. Uninstalling is simply a matter
> of 'deslecting' it.
> If you loaded this from a 'command line' script then I would think that perhaps
> this is a book that needs a health warning :(
>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk//
> Firebird - http://www.firebirdsql.org/index.php
>
You mentioned MAMP, which is the usual way I've seen people install PHP
and MySQL on a Mac. Did this not work at all? I believe the .dmg file
for it will allow you an option to uninstall and try from the beginning.
If you do use MAMP, where abouts is it all becoming unstuck? Are you
seeing any particular errors or anything?
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-O2GBQQn7b1x5/epvEVdF--
Re: Uninstalling PHP?
am 27.02.2010 13:44:10 von muhsin
Hello,
I think everyone has their own preference on working/development
setup.If you are comfortable with Window OSS, I guess shifting to Linux
might take you totally out of your goals.
In my case I prefer playing around Gentoo Linux, so my development setup
is built around Gentoo Linux.But I fully agree that it took me a while
to be comfortable to work behind this OSS.
But on Windows it should be possible to get those PHP, MYSQL,
Apache.Install things like WAMP or so {Ive never used it,but I heard it
works}, but it could be an option for a Window User.
P:S
**Learning Linux/Unix wont be such a bad idea though, as most of your
Servers (production environment) will be Linux/Unix.So its worth
learning how to work and be comfortable with them.
GR
Muhsin
On 02/27/2010 06:09 AM, Austin Powers wrote:
> 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.
>
>
>
>
--
Extra details:
OSS:Gentoo Linux
profile:x86
Hardware:msi geforce 8600GT asus p5k-se
location:/home/muhsin
language(s):C/C++,VB,VHDL,bash,PHP,SQL,HTML,CSS
Typo:40WPM
url:http://www.mzalendo.net
url:http://www.zanbytes.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Uninstalling PHP?
am 27.02.2010 14:09:02 von Ashley Sheridan
--=-oCAPQ2VcvUGfquug6SN1
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Sat, 2010-02-27 at 13:44 +0100, mrfroasty wrote:
> Hello,
>
> I think everyone has their own preference on working/development
> setup.If you are comfortable with Window OSS, I guess shifting to Linux
> might take you totally out of your goals.
> In my case I prefer playing around Gentoo Linux, so my development setup
> is built around Gentoo Linux.But I fully agree that it took me a while
> to be comfortable to work behind this OSS.
>
> But on Windows it should be possible to get those PHP, MYSQL,
> Apache.Install things like WAMP or so {Ive never used it,but I heard it
> works}, but it could be an option for a Window User.
>
> P:S
> **Learning Linux/Unix wont be such a bad idea though, as most of your
> Servers (production environment) will be Linux/Unix.So its worth
> learning how to work and be comfortable with them.
>
> GR
> Muhsin
>
>
> On 02/27/2010 06:09 AM, Austin Powers wrote:
> > 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.
> >
> >
> >
> >
>
>
> --
> Extra details:
> OSS:Gentoo Linux
> profile:x86
> Hardware:msi geforce 8600GT asus p5k-se
> location:/home/muhsin
> language(s):C/C++,VB,VHDL,bash,PHP,SQL,HTML,CSS
> Typo:40WPM
> url:http://www.mzalendo.net
> url:http://www.zanbytes.com
>
>
The OP's question was about installing the stack on a Mac, not Windows.
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-oCAPQ2VcvUGfquug6SN1--
Re: Uninstalling PHP?
am 28.02.2010 00:08:49 von Austin Powers
""Austin Powers"" 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
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?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Uninstalling PHP?
am 28.02.2010 19:46:11 von Colin Guthrie
'Twas brillig, and Austin Powers at 27/02/10 23:08 did gyre and gimble:
> ""Austin Powers"" 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
>
> 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/]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: Uninstalling PHP?
am 01.03.2010 15:11:09 von Jochem Maas
Op 2/28/10 12:08 AM, Austin Powers schreef:
> ""Austin Powers"" 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?
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php