PEAR and PECL is missing from PHP Interpreter 8.1  [SOLVED]

Which features are you missing? Tell us about it.
Post Reply
miklosandras
Posts: 5
Joined: Wed 30. Nov 2022, 13:25

PEAR and PECL is missing from PHP Interpreter 8.1

Post by miklosandras »

I'm sure the cause of the problem is within KeyHelp
(Problems not related to KeyHelp belong in the Offtopic forum)
I think so.

Server operating system + version
Debian 11


Server virtualization technology used
KVM


KeyHelp version + build number
22.2 (Build 2838)


Problem description / error messages
PHP Interpreter: From php version 8.1 pear and pecl is missing

Expected result

pear and pecl should be available to install other modules like dbase as in PHP Interpreter version 7.1

Code: Select all

root@keyhelp:/opt/keyhelp/php/7.1/bin# ls -l
total 131056
-rwxr-xr-x 1 root root      867 Nov 29 09:47 pear
-rwxr-xr-x 1 root root      888 Nov 29 09:47 peardev
-rwxr-xr-x 1 root root      801 Nov 29 09:47 pecl
lrwxrwxrwx 1 root root        9 Nov 29 09:47 phar -> phar.phar
-rwxr-xr-x 1 root root    14827 Nov 29 09:47 phar.phar
-rwxr-xr-x 1 root root 44473224 Nov 29 09:47 php
-rwxr-xr-x 1 root root 44228232 Nov 29 09:47 php-cgi
-rwxr-xr-x 1 root root     3113 Nov 29 09:47 php-config
-rwxr-xr-x 1 root root 45456432 Nov 29 09:47 phpdbg
-rwxr-xr-x 1 root root     4568 Nov 29 09:47 phpize
root@keyhelp:/opt/keyhelp/php/7.1/bin#
Actual result

Code: Select all

root@keyhelp:/opt/keyhelp/php/8.1/bin# ls -l
total 154284
lrwxrwxrwx 1 root root        9 Nov 30 13:23 phar -> phar.phar
-rwxr-xr-x 1 root root    15257 Nov 30 13:23 phar.phar
-rwxr-xr-x 1 root root 51768720 Nov 30 13:23 php
-rwxr-xr-x 1 root root 51616976 Nov 30 13:23 php-cgi
-rwxr-xr-x 1 root root     3386 Nov 30 13:23 php-config
-rwxr-xr-x 1 root root 54567832 Nov 30 13:23 phpdbg
-rwxr-xr-x 1 root root     4565 Nov 30 13:23 phpize

Steps to reproduce
Installed and Uninstalled the version 8.1 with the same results

Additional information
---
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: PEAR and PECL is missing from PHP Interpreter 8.1  [SOLVED]

Post by Alexander »

Hello,

PEAR / PECL has been disabled by default by the PHP developers for PHP 7.4 and above.
I have adopted this change for the PHP interpreters I compile for KeyHelp.

This is a feature request instead of a bug report.

But you may want to use composer instead.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
miklosandras
Posts: 5
Joined: Wed 30. Nov 2022, 13:25

Re: PEAR and PECL is missing from PHP Interpreter 8.1

Post by miklosandras »

Dear Alexander, Thanks for the reply. Then I will findout the way to using composer or install pear/pecl manually. Thank you.
Post Reply