localhost php server install mysql code example Example: installing apache mod php sudo apt install libapache2-mod-php