--with-pear \
--with-pdo-mysql=mysqlnd \
cd /usr/local/directadmin/custombuild && ./build php_expert 7.4 lsphp
which is missing to my surprise by default.
./build used_configs | grep ^PHP | grep configure
# /usr/local/php74/bin/php -i | grep -i redis | head
redis
Redis Support => enabled
Redis Version => 5.1.1
redis.arrays.algorithm => no value => no value
redis.arrays.auth => no value => no value
redis.arrays.autorehash => 0 => 0
redis.arrays.connecttimeout => 0 => 0
redis.arrays.consistent => 0 => 0
redis.arrays.distributor => no value => no value
redis.arrays.functions => no value => no value
[root@vps scripts]# ./php-extension.sh install redis --php=74
PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/redis.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/redis.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
No releases available for package "pecl.php.net/redis"
download failed
Failed to download a file
[root@vps scripts]# pear update-channels
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is not responding over http://, failed with message: Connection to `ssl://pear.php.net:443' failed:
Trying channel "pear.php.net" over https:// instead
Cannot retrieve channel.xml for channel "pear.php.net" (Connection to `ssl://pear.php.net:443' failed: )
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
[root@vps scripts]# pecl list-all
Notice: Trying to access array offset on value of type bool in PEAR/REST.php on line 181
PHP Notice: Trying to access array offset on value of type bool in /usr/local/php74/lib/php/PEAR/REST.php on line 181
Connection to `ssl://pecl.php.net:443' failed:
Is there a method in custombuild to have pear enable by default? Doesn't make any sense we'd need custom options for this, many many additionals modules are installed with pecl