I wasn’t sure if I was messing up or not. So i did a full clean install of ubuntu and followed this tutorial step by step:
It ran into the same issue.
install steps. Because this is ubuntu 16.04 I have a few things that are different. They are listed below.
apt install phpmyadmin mysql-server apt-get install make git-core composer unzip g++ linux-headers-amd64 -y apt-get install make git-core composer unzip g++ -y a2enmod rewrite apt-get install php7.0 php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0-json php7.0-readline php7.0-mysqlnd libonig4 libqdbm14 -y apt-get install php7.0 php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0-json php7.0-readline php7.0-mysqlnd libqdbm14 -y apt-get install libgpgme11-dev php7.0-gnupg -y apt-get install libgpgme11-dev php-gnupg -y systemctl restart apache2 nano /etc/apache2/sites-enabled/000-default.conf nano /etc/hosts cd /var/www git clone https://github.com/passbolt/passbolt_api.git ./passbolt apt-get install haveged -y gpg --gen-key gpg --armor --export gpg --armor --export chmod 640 /var/www/passbolt/config/gpg/serverkey* chown www-data:www-data /var/www sudo su -s /bin/bash -c "gpg --list-keys" www-data chown -R www-data:www-data /var/www/passbolt cd /var/www/passbolt systemctl restart apache2 su -s /bin/bash www-data apt install php7.0-intl apt install php7.0-curl su -s /bin/bash www-data gpg --list-keys --fingerprint su -s /bin/bash www-data apt install libonig2
linux-headers-amd64 >> default installed
php7.0-gnupg >> is called php-gnupg
libonig4 >> only version 2 is available