Page 1 of 2

Pear php5.6 mod required

Posted: Mon 30. Oct 2023, 21:22
by [RGK]*Kent
Howdy,

I want to install a script, and it asks me to have this module in php 5.6 Pear php5.6 mod required

[b]Checking required modules:[/b]
Pear Not found

Can you help me what is needed? I use keyhelp, but I can't find the problem, maybe someone knows?

Thank you!

Re: Pear php5.6 mod required

Posted: Mon 30. Oct 2023, 22:07
by mhagge
You really mean PHP 5.6? This version had its "End of Life" on 31.12.2018, i.e. since then there are not even security updates for it.
If this software you want to install is only available for PHP 5.6, the only advice you can give is to stay away from it.

Re: Pear php5.6 mod required

Posted: Mon 30. Oct 2023, 22:19
by [RGK]*Kent
Ok, but if my script is on php5.6, how can I find a good solution?
Thank you!

Re: Pear php5.6 mod required

Posted: Tue 31. Oct 2023, 09:37
by Jolinar
[RGK]*Kent wrote: Mon 30. Oct 2023, 22:19 Ok, but if my script is on php5.6, how can I find a good solution?
Adapt your script accordingly or use a better and more modern script.
Until we know what kind of script it is, we can't recommend anything else.

Re: Pear php5.6 mod required

Posted: Tue 31. Oct 2023, 14:23
by [RGK]*Kent
ideally it would be to use the script I have, it would help me a lot if you could update all php versions with pear. thank you.

Re: Pear php5.6 mod required

Posted: Tue 31. Oct 2023, 15:40
by Tobi
You can install pear manually and activate it with ini_set().

Re: Pear php5.6 mod required

Posted: Wed 1. Nov 2023, 21:16
by [RGK]*Kent
regardless of the version of php pear is not activated.
is there support?
Thank you!

Re: Pear php5.6 mod required

Posted: Wed 1. Nov 2023, 21:21
by Jolinar
[RGK]*Kent wrote: Wed 1. Nov 2023, 21:16 regardless of the version of php pear is not activated.
is there support?
Do you also read what other people write here?
Tobi wrote: Tue 31. Oct 2023, 15:40 You can install pear manually and activate it with ini_set().

Re: Pear php5.6 mod required

Posted: Wed 1. Nov 2023, 21:22
by 24unix
According to some googling that thing should run with PHP 7.2, 7.4, maybe with PHP8.

Did you even try 7.4?

Just

Code: Select all

apt install php-pear 
and reload the page.

Re: Pear php5.6 mod required

Posted: Wed 1. Nov 2023, 21:36
by [RGK]*Kent
24unix wrote: Wed 1. Nov 2023, 21:22 According to some googling that thing should run with PHP 7.2, 7.4, maybe with PHP8.

Did you even try 7.4?

Just

Code: Select all

apt install php-pear 
and reload the page.
yes, but without results

Re: Pear php5.6 mod required

Posted: Wed 1. Nov 2023, 21:38
by [RGK]*Kent
Jolinar wrote: Wed 1. Nov 2023, 21:21
[RGK]*Kent wrote: Wed 1. Nov 2023, 21:16 regardless of the version of php pear is not activated.
is there support?
Do you also read what other people write here?
Tobi wrote: Tue 31. Oct 2023, 15:40 You can install pear manually and activate it with ini_set().
Regarding what you say, yes, I read it, but I added the manual and it doesn't work, plus, normally, for all keyhelp users, an update with pear rectification would be worth it.
Thank you!
I'm not bad, but I'm telling the truth

Re: Pear php5.6 mod required

Posted: Wed 1. Nov 2023, 21:54
by Jolinar
[RGK]*Kent wrote: Wed 1. Nov 2023, 21:38 Regarding what you say, yes, I read it, but I added the manual and it doesn't work, plus, normally, for all keyhelp users, an update with pear rectification would be worth it.
Thank you!
I'm not bad, but I'm telling the truth
The content of your texts does not become more informative just because you format them in color and bold. This is a technical forum, not a social media platform.

Re: Pear php5.6 mod required

Posted: Wed 1. Nov 2023, 23:17
by 24unix
[RGK]*Kent wrote: Wed 1. Nov 2023, 21:36
24unix wrote: Wed 1. Nov 2023, 21:22 According to some googling that thing should run with PHP 7.2, 7.4, maybe with PHP8.

Did you even try 7.4?

Just

Code: Select all

apt install php-pear 
and reload the page.
yes, but without results
So the page is empty?

Else, there would be a result. Even if it is the same like before.

What says

Code: Select all

dpkg -l|grep pear
?

And what PHP version did you activate for the page?

Re: Pear php5.6 mod required

Posted: Thu 2. Nov 2023, 01:42
by [RGK]*Kent
dpkg -l|grep pear
ii pear-channels 0~20190819-1build4 all PEAR channels for various projects
ii php-pear
I tried on all PHP versions, the script is compatible with all available php versions, but none of the versions have pear installed.
Pear
Not found

php5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 .8.2

Re: Pear php5.6 mod required

Posted: Thu 2. Nov 2023, 07:59
by Florian
Hello,

I explained how to install PEAR in this Thread:

viewtopic.php?p=36410#p36410

It is in German but it should be possible for you to translate

For lower PHP Versiosn like 5.6 pear is already available:

Code: Select all

/opt/keyhelp/php/5.6/bin/pear
As written in the thread it is necessary to adjust open_basedir and include_path so that PHP can find the PEAR modules.