Pear php5.6 mod required

General discussions around KeyHelp.
[RGK]*Kent
Posts: 10
Joined: Sat 28. Oct 2023, 09:55

Re: Pear php5.6 mod required

Post by [RGK]*Kent »

Hello, I did everything you said, without results!
I show you the web server logs to see the error, pear not found:

AH01071: Got error 'PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/opt/keyhelp/php/5.6/lib/php/Crypt/XXTEA.php) is not within the allowed path(s): (/home/users/kent/www:/home/users/kent/files:/home/users/kent/tmp) in /home/users/kent/www/mortall.ro/gamepanel/install.php on line 269
PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/opt/keyhelp/php/5.6/lib/php/System.php) is not within the allowed path(s): (/home/users/kent/www:/home/users/kent/files:/home/users/kent/tmp) in /home/users/kent/www/mortall.ro/gamepanel/install.php on line 273
', referer: https://gamepanel.mortall.ro/install.php?
User avatar
Tobi
Community Moderator
Posts: 2831
Joined: Thu 5. Jan 2017, 13:24

Re: Pear php5.6 mod required

Post by Tobi »

Do you speak english and do you understand the error message?
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: Pear php5.6 mod required

Post by Florian »

I quote my own text:
As written in the thread it is necessary to adjust open_basedir and include_path so that PHP can find the PEAR modules.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
[RGK]*Kent
Posts: 10
Joined: Sat 28. Oct 2023, 09:55

Re: Pear php5.6 mod required

Post by [RGK]*Kent »

Howdy! better people
I modified /opt/keyhelp/php/5.6/etc/php.ini
the line in which it is:
include_path=".:/opt/keyhelp/php/5.6/lib/php"
after restart
I tried this option as well
include_path=".:/usr/share/php"

It still does not work!
I don't think I'm doing anything wrong

Rezult:
AH01071: Got error 'PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/php/Crypt/XXTEA.php) is not within the allowed path(s): (/home/users/kent/www:/home/users/kent/files:/home/users/kent/tmp) in /home/users/kent/www/mortall.ro/gamepanel/install.php on line 269
PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/php/System.php) is not within the allowed path(s): (/home/users/kent/www:/home/users/kent/files:/home/users/kent/tmp) in /home/users/kent/www/mortall.ro/gamepanel/install.php on line 273
', referer: https://gamepanel.mortall.ro/install.php?
User avatar
24unix
Posts: 1643
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Pear php5.6 mod required

Post by 24unix »

[RGK]*Kent wrote: Sat 4. Nov 2023, 17:04 Howdy! better people
I modified /opt/keyhelp/php/5.6/etc/php.ini
the line in which it is:
include_path=".:/opt/keyhelp/php/5.6/lib/php"
after restart
I tried this option as well
include_path=".:/usr/share/php"

It still does not work!
I don't think I'm doing anything wrong

Rezult:
AH01071: Got error 'PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/php/Crypt/XXTEA.php) is not within the allowed path(s): (/home/users/kent/www:/home/users/kent/files:/home/users/kent/tmp) in /home/users/kent/www/mortall.ro/gamepanel/install.php on line 269
PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/php/System.php) is not within the allowed path(s): (/home/users/kent/www:/home/users/kent/files:/home/users/kent/tmp) in /home/users/kent/www/mortall.ro/gamepanel/install.php on line 273
', referer: https://gamepanel.mortall.ro/install.php?
You tried at the wrong place.

Try this one:
SCR-20231104-pbsp.jpeg
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Post Reply