QWeb Ric
Basic Pleskian
- Server operating system version
- Almalinux 9.4
- Plesk version and microupdate number
- 18.0.62 Update #1
Ref https://support.plesk.com/hc/en-us/...-chrooted-shell-environment-template-in-Plesk and specifically lines 42 - 70 of Useful-scripts/Bash scripts for Linux/plesk-chroot-template.sh at main · qwebltd/Useful-scripts , I've been setting up a new server and originally expected to be hosting a PHP 5.6 project on here, but it's turned out that this is no longer needed and, for obvious reasons, I'd thus like to strip 5.6 back out again.
Obviously I can just remove the interpreter via Plesk, but again ref lines 42 - 70 of the above link, I've already added this interpreter to the chroot template which nearly 70 domains are now using:
Would it be safe then, to just delete the /var/www/vhosts/chroot/opt/plesk/php/5.6/ tree and then --apply all or will the above --add lines have pulled in other dependencies or libs into other parts of the tree? Will there be other things in there that have become dependent on the /var/www/vhosts/chroot/opt/plesk/php/5.6/ path existing?
Hopeful I don't need to rebuild the template from scratch!
Obviously I can just remove the interpreter via Plesk, but again ref lines 42 - 70 of the above link, I've already added this interpreter to the chroot template which nearly 70 domains are now using:
sudo ./update_chroot.sh --add /opt/plesk/php/5.6/bin/php
for i in /opt/plesk/php/5.6/lib64/php/modules/*.so; do sudo ./update_chroot.sh --add $i; done
sudo cp -a /opt/plesk/php/5.6/etc /var/www/vhosts/chroot/opt/plesk/php/5.6/
Would it be safe then, to just delete the /var/www/vhosts/chroot/opt/plesk/php/5.6/ tree and then --apply all or will the above --add lines have pulled in other dependencies or libs into other parts of the tree? Will there be other things in there that have become dependent on the /var/www/vhosts/chroot/opt/plesk/php/5.6/ path existing?
Hopeful I don't need to rebuild the template from scratch!