|
Posted by kenoli on 06/24/07 16:50
On Jun 24, 6:41 am, "J.O. Aho" <u...@example.net> wrote:
> kenoli wrote:
> > I am on a Mac powerpc running Tiger 10.4.10.
>
> > When I run php -v at a command line I get a response that indicates
> > that I am running php 4.4.4.
>
> > However, when I run <?php phpinfo() ?> on localhost on my machine from
> > within a php file, I am told I am running version 5.0.4.
>
> > Anyone know why the discrepancy? I was under the impression that I
> > had installed php 5.
>
> You have both installed, the php binary you have (I assume that could be in
> /usr/bin/), is the php4, while the module you have for apache (assuming it's
> in /etc/apache2/) is from php5.
>
> --
>
> //Aho
Thanks. I finally figured this out, too. If I change my environment
variable for my shell so it points to my php5 version, am I doing
anything that will interfere with system level stuff like sendmail
that may still be associated with the version in /usr/bin/ ?
What brought all of this up is an interest in checking out Symfony,
which is based on php5.
--Kenoli
Navigation:
[Reply to this message]
|