PHP 7.1 (via CustomBuild) & missing pecl / pear binaries

adam12

Verified User
Joined
Feb 19, 2016
Messages
81
This one was a mystery to me all day. I worked around it by using phpize and configure with php-config option, but I'd love to know what's going on...

Are the pecl and pear binaries supposed to be available upon install? I could of swore they used to be.

Code:
# ls -l /usr/local/php71/bin
total 124664
lrwxrwxrwx. 1 root root        9 Jan 12 14:40 phar -> phar.phar
-rwxr-xr-x. 1 root root    14837 Jan 12 14:40 phar.phar
lrwxrwxrwx. 1 root root       26 Jan 12 14:40 php -> /usr/local/php71/bin/php71
-rwxr-xr-x. 1 root root 42280940 Jan 12 14:39 php71
lrwxrwxrwx. 1 root root       30 Jan 12 14:40 php-cgi -> /usr/local/php71/bin/php-cgi71
-rwxr-xr-x. 1 root root 42125676 Jan 12 14:39 php-cgi71
lrwxrwxrwx. 1 root root       33 Jan 12 14:40 php-config -> /usr/local/php71/bin/php-config71
-rwxr-xr-x. 1 root root     3486 Jan 12 14:40 php-config71
-rwxr-xr-x. 1 root root 43201724 Jan 12 14:39 phpdbg71
lrwxrwxrwx. 1 root root       29 Jan 12 14:40 phpize -> /usr/local/php71/bin/phpize71
-rwxr-xr-x. 1 root root     4544 Jan 12 14:40 phpize71

Code:
# more options.conf
#PHP Settings
php1_release=7.1
php1_mode=php-fpm
php2_release=no
php2_mode=php-fpm
opcache=yes
htscanner=no
php_ini=no
php_timezone=Europe/London
php_ini_type=production
ioncube=no
zend=no
suhosin=no
x_mail_header=yes

#MySQL Settings
mysql=5.6
mariadb=10.0
mysql_inst=no
mysql_backup=yes
mysql_backup_gzip=no
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no

#WEB Server Settings
webserver=apache
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=comodo
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
userdir_access=yes
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=changed.hostname.com
redirect_host_https=no

#WEB Applications Settings
phpmyadmin=yes
phpmyadmin_ver=4
squirrelmail=yes
roundcube=yes
webapps_inbox_prefix=no

#ClamAV-related Settings
clamav=no
clamav_exim=yes
modsecurity_uploadscan=no
proftpd_uploadscan=no
pureftpd_uploadscan=no
suhosin_php_uploadscan=no

#Mail Settings
exim=yes
eximconf=no
eximconf_release=4.4
blockcracking=no
easy_spam_fighter=no
spamassassin=no
sa_update=daily
dovecot=yes
dovecot_conf=yes
pigeonhole=no

#FTP Settings
ftpd=pureftpd

#Statistics Settings
awstats=no
webalizer=yes

#CustomBuild Settings
custombuild=2.0
autover=no
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files2.directadmin.com

#Cronjob Settings
cron=no
cron_frequency=weekly
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#CloudLinux Settings
cloudlinux=no
cloudlinux_beta=no
cagefs=no

#Advanced Settings
autoconf=yes
automake=yes
libtool=yes
curl=no
new_pcre=no
 
Hello,

Updated PHP 7.1 just now:

Code:
drwxr-xr-x 2 root root     4096 Jan 14 15:46 .drwxr-xr-x 8 root root     4096 Dec  4 23:58 ..
-rwxr-xr-x 1 root root      847 Dec  4 23:58 pear
-rwxr-xr-x 1 root root      868 Dec  4 23:58 peardev
-rwxr-xr-x 1 root root      784 Dec  4 23:58 pecl
lrwxrwxrwx 1 root root        9 Jan 14 15:46 phar -> phar.phar
-rwxr-xr-x 1 root root    14837 Jan 14 15:46 phar.phar
lrwxrwxrwx 1 root root       26 Jan 14 15:46 php -> /usr/local/php71/bin/php71
-rwxr-xr-x 1 root root 44012883 Jan 14 15:46 php71
lrwxrwxrwx 1 root root       30 Jan 14 15:46 php-cgi -> /usr/local/php71/bin/php-cgi71
-rwxr-xr-x 1 root root 43833638 Jan 14 15:46 php-cgi71
lrwxrwxrwx 1 root root       33 Jan 14 15:46 php-config -> /usr/local/php71/bin/php-config71
-rwxr-xr-x 1 root root     3428 Jan 14 15:46 php-config71
-rwxr-xr-x 1 root root 44928841 Jan 14 15:46 phpdbg71
lrwxrwxrwx 1 root root       29 Jan 14 15:46 phpize -> /usr/local/php71/bin/phpize71
-rwxr-xr-x 1 root root     4540 Jan 14 15:46 phpize71
-rwxr-xr-x 1 root root      262 Jan 14 15:46 php_uploadscan.sh

note that pear, peardev, pecl did not update. Check their last modified date. I did not investigate the case and don't have information on what might be wrong yet.
 
Back
Top