Skip to content

Resolve "website PHP version select should also apply for CLI"

Michael requested to merge ms217/ispconfig3:6501-php-ssh-cron into develop

Closes #6501, #6410 and #6633 (closed)

This PR deals with the topics mentioned in both issues, so basically cronjobs and shell users. Nontheless there are few things that are unclear to me and I need feedback/help to address them, in case they need to be adressed.

  1. Is it better to move the code to a plugin?
  2. What about chroot/jailkit environments? My tests were successfull for full cronjobs only, but since I don't use jailkit/chroot I'm unsure what needs to be done there.
  3. What about a second field for the directory that just contains the PHP cli binaries? This would be important if one rather wants to use the $PATH environment variable which is imho the superior choice over an alias to provide the PHP cli binary of the web.

P.S. This is a draft and not tidied up yet.

Edited by Michael

Merge request reports