install php 7.3 mysql extension ubuntu code example Example: install php mysql extension ubuntu sudo apt-get install php7.2-mysql