I did get it to install by running it from the exact location like below:
# /usr/local/cpanel/3rdparty/bin/pecl install uploadprogress
It installed the uploadprogress.so into the php extensions directory under /usr/local/cpanel though.
Here are the results.
[email protected] [~]# grep -H '' /etc/*release /usr/local/cpanel/version
/etc/redhat-release:CentOS release 4.8 (Final)
/usr/local/cpanel/version:11.24.5-RELEASE_38506
[email protected] [~]# /usr/local/apache/bin/httpd -v
Server version: Apache/2.2.14 (Unix)
Server built: Dec 10 2009 16:39:31
Cpanel::Easy::Apache v3.2.0 rev4899
[email protected] [~]# stat /usr/bin/php /usr/bin/pear /usr/bin/pecl
File: `/usr/bin/php'
Size: 13687919 Blocks: 26776 IO Block: 4096 regular file
Device: 303h/771d Inode: 87631 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-12-11 05:18:22.000000000 +0000
Modify: 2009-12-10 16:50:02.000000000 +0000
Change: 2009-12-10 16:50:02.000000000 +0000
File: `/usr/bin/pear'
Size: 636 Blocks: 8 IO Block: 4096 regular file
Device: 303h/771d Inode: 81668 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-12-11 05:00:43.000000000 +0000
Modify: 2006-05-30 15:28:12.000000000 +0000
Change: 2006-05-30 15:28:12.000000000 +0000
stat: cannot stat `/usr/bin/pecl': No such file or directory
[email protected] [~]# /usr/bin/php -v
PHP 5.2.9 (cgi) (built: Dec 10 2009 16:49:48)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with eAccelerator v0.9.6-rc1, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
[email protected] [~]# /usr/bin/pear -V
PEAR Version: 1.3.6
PHP Version: 5.2.9
Zend Engine Version: 2.2.0
Running on: Linux host.example.com 2.6.9-78.0.8.ELsmp #1 SMP Wed Nov 19 20:05:04 EST 2008 i686
[email protected] [~]# /usr/bin/pecl -V
-bash: /usr/bin/pecl: No such file or directory
[email protected] [~]# stat /usr/local/bin/php /usr/local/bin/pear /usr/local/bin/pecl
File: `/usr/local/bin/php'
Size: 13693361 Blocks: 26792 IO Block: 4096 regular file
Device: 303h/771d Inode: 64267 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-12-11 05:15:12.000000000 +0000
Modify: 2009-12-10 16:45:28.000000000 +0000
Change: 2009-12-10 16:45:28.000000000 +0000
File: `/usr/local/bin/pear'
Size: 666 Blocks: 8 IO Block: 4096 regular file
Device: 303h/771d Inode: 67732 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-12-11 05:01:37.000000000 +0000
Modify: 2006-02-08 12:31:40.000000000 +0000
Change: 2006-02-08 12:31:40.000000000 +0000
stat: cannot stat `/usr/local/bin/pecl': No such file or directory
[email protected] [~]# /usr/local/bin/php -v
PHP 5.2.9 (cli) (built: Dec 10 2009 16:45:21)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with eAccelerator v0.9.6-rc1, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
[email protected] [~]# /usr/local/bin/pear -V
PEAR Version: 1.3.6
PHP Version: 5.2.9
Zend Engine Version: 2.2.0
Running on: Linux host.example.com 2.6.9-78.0.8.ELsmp #1 SMP Wed Nov 19 20:05:04 EST 2008 i686
[email protected] [~]# /usr/local/bin/pecl -V
-bash: /usr/local/bin/pecl: No such file or directory