How to fix “Permission to send an SMS has not been enabled for the region indicated” problem on Twilio?

Enable all countries or selected countries here.

https://www.twilio.com/console/sms/settings/geo-permissions

 

reference:

https://stackoverflow.com/questions/47423741/twilio-permission-to-send-sms-has-not-been-enabled-for-the-region-indicated/47424927

How to refresh your cPanel license after upgrading from cPanel Store?

If you have purchased or upgraded your cPanel license from the cPanel Store. Your license won’t be active by default and it would need to be refreshed.

Once you have payed for your cPanel license on the cPanel Store, open a SSH window (or WHM > Terminal) and type the following command under the root level:

/usr/local/cpanel/cpkeyclt

That’s it! The script will run and refresh your license status.

You may now enjoy your new cPanel license with more accounts or features.

How to fix Composer not working on your cPanel/WHM server?

Composer not installing or working properly? Getting loads of error messages simply to run?

It looks something like this:

Fatal error: Uncaught Error: Call to undefined function Symfony\Polyfill\Mbstring\iconv() in phar:///opt/cpanel/composer/bin/composer/vendor/symfony/polyfill-mbstring/Mbstring.php:661
Stack trace:
#0 phar:///opt/cpanel/composer/bin/composer/vendor/symfony/polyfill-mbstring/bootstrap.php(48): Symfony\Polyfill\Mbstring\Mbstring::mb_strwidth(' [Composer\\Dow...', 'ASCII')
#1 phar:///opt/cpanel/composer/bin/composer/vendor/symfony/console/Helper/Helper.php(54): mb_strwidth(' [Composer\\Dow...', 'ASCII')
#2 phar:///opt/cpanel/composer/bin/composer/vendor/symfony/console/Application.php(654): Symfony\Component\Console\Helper\Helper::strlen(' [Composer\\Dow...')
#3 phar:///opt/cpanel/composer/bin/composer/vendor/symfony/console/Application.php(127): Symfony\Component\Console\Application->renderException(Object(Composer\Downloader\TransportException), Object(Symfony\Component\Console\Output\StreamOutput))
#4 phar:///opt/cpanel/composer/bin/composer/src/Composer/Console/Application.php(103): Symfony\Component\Console\Applicatio in phar:///opt/cpanel/composer/bin/composer/vendor/symfony/polyfill-mbstring/Mbstring.php on line 661
[[email protected] www]$ composer require maltyxx/restclient

 

1. Google the error message for more info: https://stackoverflow.com/questions/40800616/call-to-undefined-function-symfony-polyfill-mbstring-iconv-strlen
2. Install missing extensions: https://cyberpersons.com/2016/10/21/install-missing-php-extensions-cpanelwhm/
3. Then try again!

How to use Macrium Reflect to backup and restore your partitions (and Windows installations) easily?

You can drag a partition into another partition to clone a Windows installation. Only DRAGGING works, at least in Macrium Reflect 6.3 and 7.1, that’s the case.

You can download Macrium Reflect free here.

It’s a great tool, always create a Rescue disk using an empty USB drive (4GB).

How to increase the maximum upload file size (1MB) on a WordPress Multisite?

In case you’ve spent the last 15 minutes of your life googling for answers, here’s the answer you need:

There’s a special setting for this on a Wordpress Multisite Network.

  1. Head to My sites > Network Admin > Settings (http://www.example.com/wp-admin/network/settings.php)Wordpress Network Admin Settings
  2. Scroll down and look for Upload Settings
  3. Increase the ‘Max upload file size’ field.Max upload file size

How to increase phpMyAdmin upload file size limit in ISPConfig 3?

phpMyAdmin showing an upload limit of 2MB
phpMyAdmin showing an upload limit of 2MB

 

This is a crappy problem, especially when importing & exporting large databases.

To increase the upload file size limit for phpMyAdmin, we’ll need to modify the php settings (php.ini) that it uses on your ISPConfig installation.

  1. Open up your terminal and SSH into your server.
  2. Now run nano to edit your php settings.
    sudo nano /etc/php5/apache2/php.ini
  3. Using Ctrl+W , search for:
    upload_max_filesize
  4. And set it to:
    upload_max_filesize = 64M
    Where 64M means, an upload limit of 64MB.

    nano showing search for upload_max_filesize
    nano showing search for upload_max_filesize
  5. Next, search for:
    post_max_size
  6. And set it to:
    post_max_size = 64M
  7. Save your changes by hitting Ctrl+O and then Y.
  8. Finally, restart apache.
    service apache2 restart