• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Chrooted php dont include all modules !?!?

SpAcEDeViL

Basic Pleskian
Hy,

i use the install instruction for chrooted php, but its "bullshit".
https://support.plesk.com/hc/de/art...hroot-Shellumgebung-neue-Programme-hinzufügen


My installed Version on Server is:
Code:
PHP 5.6.31 (cli) (built: Jul  7 2017 10:54:32)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

But chrooted output is:
Code:
PHP 5.6.31 (cli) (built: Jul  7 2017 10:54:32)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

Also, all modules where ignored. In the chrooted folder, i have all the files, also ioncube*.so or opcache*.so

The problem is, i will not give the webuser the hole info about the system, when they use "bin/bash".
With bin/bash the user can see all folders in the system include another domains... thats ****...
But only "bin/bash" works correct.

How can i fix that problem??
 
Hello,

i copy now all the files from /opt/plesk/php/5.6 folder in the chroot folder.

eg.
Code:
mkdir /var/www/vhosts/chroot/opt/plesk/php/5.6

Code:
cp -a /opt/plesk/php/5.6/ /var/www/vhosts/chroot/opt/plesk/php/5.6/

and
Code:
./chroot_update.sh --apply all

Now it works.
 
Last edited:
Now the mysql connection dont work...

why you make this "chrooted" access so?
And why you dont have a auto install script to make chrooted access compatible for the users to run php scripts
 
Back
Top