New answers tagged version
If your requirements permit you to have the subdomain be a different cPanel account, I'd recommend using CloudLinux and its PHP Selector for this. I think you can do an in-place upgrade of CentOS to CloudLinux and it also integrates with cPanel. This is especially recommended if you're going to be running PHP versions which no longer receive security ...
On popular distributions: $ which sh /bin/sh $ readlink -f /bin/sh /bin/dash Or more compact: $ readlink -f $(which sh) /bin/dash However, some (especially embedded systems or initrd builds) have their shell directly compiled as /bin/sh or it's a hardlink (busybox)
Top 50 recent answers are included