• 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 PHP CLI versions in chrooted environment

Sven Wappler

New Pleskian
Hello,
first I would like to ask a question of understanding because I am new to Plesk users. I am a server administrator and PHP developer and would like to use Plesk as a reseller among other things. I am also looking for solutions for partner agencies. PHP software needs more and more access to PHP CLI. Symfony, Laravel, TYPO3, magento, matomo ... all have consoles that need to be served via SSH. With other hosters this is possible through their own developed management systems. Mostly the customer gets a specific PHP version for the complete account (suboptimal).
I thought Plesk was actually developed to provide this functionality similarly.
After analyzing the Plesk system, it seems to me that there are two options available:
- Allowing login via /bin/bash (non chroot). Many reseller hosters don't like this either, because it gives the customer too much insight into the system.
- The login via chroot. This solution could also make it possible to provide the PHP versions with different modules and adapt them to the subscriptions.

What I would like to see is the possibility to set the different PHP CLI versions per domain. Important: These would also update with an update of the PHP version.
These would be then per
bash-5.0$ php8.1 -v bash-5.0$ php8.0 -v
for example. Different versions because the subdomains might need different PHP versions.

Among other things, I did not understand instructions like https://support.plesk.com/hc/en-us/...-Composer-to-a-chrooted-environment-in-Plesk-, because creating symlinks with destination outside the chroot container does not work technically. Nonetheless, it wouldn't really meet the requirements either, because both PHP and add-ons should be able to be set differently version-wise per domain.

I think the Plesk product could be better adapted to end users in this point, so resellers can sell it better. Have I overlooked some form of realization? Or what do you think?
 
Back
Top