PHP improvements

Add option to set Global system PHP version and settings.

Could be just a simple symlink pointing to the desired PHP binary. Changing would involve unlinking and creating a new symlink
[root@wcloud:~]# ls -l /usr/bin/php
lrwxrwxrwx 1 root root 31 Sep 8 08:30 /usr/bin/php → /usr/local/lsws/lsphp73/bin/php
[root@wcloud:~]#

ln -s source_file myfile
ln -s /usr/local/lsws/lsphp73/bin/php /usr/bin/php

Example of this is below:

root@ols:~# ls -l /usr/bin/php
-rwxr-xr-x 1 root root 12517872 Aug 28 22:57 /usr/bin/php
root@ols:~# /usr/bin/php -v
PHP 7.1.31-2+bionic (cli) (built: Aug 7 2019 14:11:34) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.32-1+bionic, Copyright (c) 1999-2018, by Zend Technologies
root@ols:~# stat /usr/local/lsws/lsphp73/bin/php
File: /usr/local/lsws/lsphp73/bin/php
Size: 14916080 Blocks: 29136 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 2097938 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-09-06 22:34:28.000000000 -0400
Modify: 2019-08-29 04:09:05.000000000 -0400
Change: 2019-09-06 22:34:48.024644624 -0400
Birth: -
root@ols:~# rm /usr/bin/php
root@ols:~# ln -s /usr/local/lsws/lsphp73/bin/php /usr/bin/php
root@ols:~# /usr/bin/php -v
PHP 7.3.9-1+bionic (cli) (built: Aug 29 2019 08:09:05) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.3.7, Copyright (c) 2002-2019, by ionCube Ltd.
with Zend OPcache v7.3.9-1+bionic, Copyright (c) 1999-2018, by Zend Technologies
root@ols:~# ls -l /usr/bin/php
lrwxrwxrwx 1 root root 31 Oct 8 13:45 /usr/bin/php → /usr/local/lsws/lsphp73/bin/php
root@ols:~#

Allow copying one PHP version settings to all versions. So if i want to set memory_limit to say 1024M maxupload to 128M etc I can set it once and apply to all versions.