• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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