Jump to content

PHP Version


nfr

Recommended Posts


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 -v
PHP 4.4.2-1build1 (cli) (built: Apr  6 2006 09:44:32)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
admin@machine:/home/d/d/ddp/public_html$

However, if I call php through the browser (using phpinfo()), it outputs:

PHP Version 5.1.2

Why is this?

Regards,

Neil.

Link to comment
https://forums.phpfreaks.com/topic/35070-php-version/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.