disable/enable webmin

EXAMPLE 1

WEBMIN
Disable:
    sudo update-rc.d webmin disable
Enable:
    sudo update-rc.d webmin enable

Restart(full with button) server after command run

USERMIN
Disable: sudo update-rc.d usermin disable 
Enable: sudo update-rc.d usermin enable

EXAMPLE 2

Disable Autostart:
sudo systemctl disable usermin
sudo systemctl stop usermin

Prevent Future Restarts:
sudo mv /etc/usermin/miniserv.conf /etc/usermin/miniserv.conf.backup

ajaxSetup

<input name='_token' type="hidden" value="{{csrf_token()}}" />
arba
echo csrf_field(); //sukuria input, auksciau
------------
$.ajaxSetup({
  headers: {
    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
  }
});

Putting FTP Info in wp-config

 

wp-config.php (NO FTP)
 define('FS_METHOD', 'direct'); (copy from sublime)

wp-config.php (FTP)
 define('FS_METHOD', 'ftpext');
 define('FTP_BASE', '/home/....');
 define('FTP_USER', 'username');
 define('FTP_HOST', 'host.com');
 define('FTP_SSL', false);

DB:
wp_options: option_name = ftp_credentials

Putting FTP Info in wp-config tutorial:
https://digwp.com/2010/11/ftp-in-wpconfig/

PLUGIN:
ftp-access plugin

EXTRA INFO (db & etc)
https://www.binarymoon.co.uk/2010/07/easy-wordpress-updates-store-ftp-info-wpconfigphp/

install php7.3

https://websiteforstudents.com/install-php-7-3-php-7-3-fpm-with-apache2-nginx-on-ubuntu-16-04-18-04-18-10/

php version

what PHP version your Apache server is using, 
the output of phpinfo() is always what you should pay attention to
sudo a2dismod php7.1
sudo a2enmod php7.3
sudo service apache2 restart