• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How can I make Darwin see the most recent PHP from the shell prompt?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I make Darwin see the most recent PHP from the shell prompt?


  • Subject: How can I make Darwin see the most recent PHP from the shell prompt?
  • From: "Frederick C. Lee" <email@hidden>
  • Date: Mon, 13 Dec 2004 15:22:05 -0800

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How can I make Darwin see the most recent PHP from the shell prompt?
      • From: Jérémie Banier <email@hidden>
    • Re: How can I make Darwin see the most recent PHP from the shell prompt?
      • From: Larry Fransson <email@hidden>
  • Prev by Date: [Cocoa-dev] Handling right click only
  • Next by Date: Re: About efficiently reading and writing files...
  • Previous by thread: [Cocoa-dev] Handling right click only
  • Next by thread: Re: How can I make Darwin see the most recent PHP from the shell prompt?
  • Index(es):
    • Date
    • Thread