Reply to Re: php version

Your name:

Reply:


Posted by J.O. Aho on 06/24/07 13:41

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация