How do up upgrade LetsEncrypt certbot to version 0.22 which supports wildcard certificates?

Check version number

certbot --version || /path/to/certbot-auto --version

If you have already installed Certbot, you should add a parameter to apt-get install to upgrade only a specific package

sudo apt-get update
sudo apt-get install --only-upgrade certbot

Ubuntu 14.04 – PHP Version Upgraded

php -v


PHP (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologiescode

In the page the php code phpinfo();


PHP Version 5.5.9-1ubuntu4.19

Now to correct this you need to:

sudo a2dismod php5
sudo a2enmod php5.6
sudo service apache2 restart


Letsencrypt Combining plugins

Combining plugins

Sometimes you may want to specify a combination of distinct authenticator and installer plugins. To do so, specify the authenticator plugin with --authenticator or -a and the installer plugin with --installer or -i.

For instance, you could create a certificate using the webroot plugin for authentication and the apache plugin for installation.

certbot run -a webroot -i apache -w /var/www/html -d

Link: Get more info at Certbot.

Install PHP Composer

1) Update your packages:

sudo apt-get update

2) Install the curl utility:

sudo apt-get install curl

3) Download the installer:

sudo curl -s | php

4) Move the composer.phar file:

sudo mv composer.phar /usr/local/bin/composer

5) Use the composer command to test the installation. If Composer is installed correctly, the server will respond with a long list of help information and commands:

user@localhost:~# composer
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
Composer version 1.3.2 2017-01-27 18:23:41

  command [options] [arguments]

  -h, --help                     Display this help message
  -q, --quiet                    Do not output any message

Zip and UnZip with FTP

Find here the PHP script, just upload.


  • Upload zipCF.php on the directory which you want to make zip file
  • Open zipCF.php with your browser
  • Provide a Name for the zip file
  • Click on Create Zip file
  • It will create the zip file if everything is ok and provide a success message just below the submit button
  • If you see the success message, go to ftp client or browse direct url to zip file from your browser
  • Download the newly created zip file
  • Use it anyhow you need
  • Delete zipCF.php file from your server to avoid security issues