Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111706 - php incorrect version displayed in phpinfo and cli php -v
Summary: php incorrect version displayed in phpinfo and cli php -v
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-06 09:44 UTC by Hans Rakers
Modified: 2005-11-11 16:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Rakers 2005-11-06 09:44:52 UTC
After emerging mod_php-4.4.0-r9 and dev-php/php-4.4.0-r4 from today's portage
updates i discovered that the output of php's phpinfo() still displays "PHP
Version 4.4.0-gentoo-r1", or 'php -v' at the cli still outputs "PHP
4.4.0-gentoo-r1 (cli) (built: Nov  6 2005 17:43:00)".

Little cosmetic thing, but my guess is that the "gentoo-r1" part should be in
sync with the ebuild revision.


Reproducible: Always
Steps to Reproduce:
1.emerge dev-php/php-4.4.0-r4
2.execute php -v on the cli
3.see version number

Actual Results:  
PHP 4.4.0-gentoo-r1 (cli) (built: Nov  6 2005 17:43:00)


Expected Results:  
I guess it should read:

PHP 4.4.0-gentoo-r4 (cli) (built: Nov  6 2005 17:43:00)
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-11-11 16:01:35 UTC
-gentoo-r1 is intended (now it's -pl1-gentoo since this works better on PHP it
seems), anyway the 1 as revision number is correct since on the old-style PHP
ebuilds it's more difficult and tiring to change the version for each revision
bump and it's not really needed, since we only need this to differentiate from
the "vanilla" PHP, so what you're seeing is correct.
Best regards, CHTEKK.