PHP version reported incorrectly
![Linc](https://icrontic.com/uploads/userpics/279/nS5SVFJRG75KL.jpg)
I'm trying to install a PECL library (uploadprogress) that required PHP 5.2
I'm running 5.2.5, so that should work. (phpinfo confirms this)
Running "pecl install uploadprogress" gives an error:
"pecl/uploadprogress requires PHP (version >= 5.2.0), installed version is 5.1.6"
Help?![:-/ :-/](https://icrontic.com/resources/icrontimoji/hmm.gif)
//edit: Even better, 5.1.6 was never even installed on the server. We started with a clean CentOS install and PHP 5.2.1
//edit2: Better still, php-config --version returns "5.2.1", which isn't correct either.
I'm running 5.2.5, so that should work. (phpinfo confirms this)
Running "pecl install uploadprogress" gives an error:
"pecl/uploadprogress requires PHP (version >= 5.2.0), installed version is 5.1.6"
Help?
![:-/ :-/](https://icrontic.com/resources/icrontimoji/hmm.gif)
//edit: Even better, 5.1.6 was never even installed on the server. We started with a clean CentOS install and PHP 5.2.1
//edit2: Better still, php-config --version returns "5.2.1", which isn't correct either.
0
Comments
/srv/php5/php525/bin/pecl install uploadprogress
And, actually, that didn't even work. I had to use the full path to uploadprogress and/or config-set the preferred_state to beta since there is no stable release of it.
**** Linux, **** PHP, **** this day. I'm out.