Re: How can I make Darwin see the most recent PHP from the shell prompt?
Re: How can I make Darwin see the most recent PHP from the shell prompt?
- Subject: Re: How can I make Darwin see the most recent PHP from the shell prompt?
- From: Jérémie Banier <email@hidden>
- Date: Tue, 14 Dec 2004 08:29:41 +0100
Hello,
just a 2 cent suggestion, did you check you PATH ?
I mean the php4 is installed in /usr/bin if the php5 is perhaps
installed in /usr/local/bin
if this is the case, you either need to invoke it with full path
(/usr/local/bin/php) or change your PATH env. variable ...
As I said, 2 cents advice (still early in BE).
Cheers,
Jéré.
PS: isnt that slightly out of topic ?
Le 14-déc.-04, à 00:22, Frederick C. Lee a écrit :
Greetings:
I've tried Darwin Ports and also ran the PHP 5.02 installer as well.
But when I looked at the current PHP version at the Terminal, I still
get version 4.3.2. (see below).
Simple question: How can I remove the old (version 4.3.2) and replace
it with the lastest (either via Darwin Ports or from the PHP site)?
That is, where to I point Darwin/Mac OS X to use the latest version of
PHP?
Cheers,
Ric.
[/etc]port installed
The following ports are currently installed:
apache 1.3.31_0 (active)
apr 0.9.5_2 (active)
apr-util 0.9.5_1 (active)
db4 4.2.52_0+darwin_7 (active)
expat 1.95.8_0 (active)
gettext 0.14.1_1 (active)
jpeg 6b_0 (active)
libiconv 1.9.2_1 (active)
neon 0.24.7_0 (active)
php5 5.0.1_0+darwin_7 (active) <--- darwin ports says I have
version 5.01
subversion 1.1.0_0 (active)
tiff 3.6.1_0 (active)
[/etc]php -v
PHP 4.3.2 (cli) (built: Sep 13 2003 22:04:20) <-- but the prompt
indicates version 4.3.2
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
[/etc]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden