nfr Posted January 21, 2007 Share Posted January 21, 2007 Hi -I can't figure this out. If I run php from the command line, the version is 4.2.2:admin@machine:/home/d/d/ddp/public_html$ php -vPHP 4.4.2-1build1 (cli) (built: Apr 6 2006 09:44:32)Copyright (c) 1997-2006 The PHP GroupZend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologiesadmin@machine:/home/d/d/ddp/public_html$However, if I call php through the browser (using phpinfo()), it outputs:PHP Version 5.1.2Why is this?Regards,Neil. Link to comment https://forums.phpfreaks.com/topic/35070-php-version/ Share on other sites More sharing options...
trq Posted January 21, 2007 Share Posted January 21, 2007 They are two different SAPI's. It is very possible you actually have two different versions, not uncommon. Link to comment https://forums.phpfreaks.com/topic/35070-php-version/#findComment-165509 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.