When installing yourls and clicking the INSTALL button under /admin/install.php you get a server Error 500 and the following error shows up in the log:

2018/12/08 21:22:10 [error] 21768#21768: *2 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes in /home/webuser/public_html/includes/vendor/aura/sql/src/ExtendedPdo.php:748

Stack trace:
#0 /home/webuser/public_html/includes/vendor/aura/sql/src/ExtendedPdo.php(748): PDOStatement->execute()

#1 /home/webuser/public_html/includes/functions-install.php(252): Aura\Sql\ExtendedPdo->perform(‘CREATE TABLE IF…’)