Using php in CLI mode (not suPhp) to change the open_basedir value,:
Admin Level -> Custom httpd configuration -> domain.com
Insert below line In the top text area:
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/var/tmp/:/usr/local/lib/php/|
by dev
Using php in CLI mode (not suPhp) to change the open_basedir value,:
Admin Level -> Custom httpd configuration -> domain.com
Insert below line In the top text area:
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/var/tmp/:/usr/local/lib/php/|
by dev
*** An error has occurred while trying to update the license file ***
Two possible causes
Solution:
/usr/local/directadmin/scripts/letsencrypt.sh request_single your.hostname.com 4096
That’s it.
You can also redirect non-SSL request to a specific URL. Just do it.
/usr/local/directadmin/directadmin set ssl_redirect_host your.hostname.com
service directadmin restart
by dev
Problem:
There are two possible solutions of the above problem, your path to Tar tool is not correct, or the system can’t access to the path. In my case, I have both problems, so:
Solution One: Fixing the path of Tar
Open your terminal
Type which tar or whereis tar
which tar
or
whereis tar
Then use the path it returns in config.inc.php. For example,
tar = /usr/bin/tar
Still receiving the same error message, follow the second step.
Solution Two:
Still getting error? Follow next step.
Solution Three:
You may get one of the following issues.
To fix the problems, you have to enable exec() function by deleting from the disable_functions
Go to link How to enable exec()
by dev
Prerequisites
Warning
All data will be erased on the partition.
Procedure
Suppose we are re-partitioning /dev/vdb1
vi /etc/fstab
umount /dev/vdb1
fdisk /dev/vdb1
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Command (m for help):
by dev
yum install e2fsprogs
yum install perl-Crypt-SSLeay perl-Net-SSLeay
Then try updating CSF.
csf -u