Follow the initial server set up guide prior to setting up the web server software.
If you’re not familiar with running scripts, use an editor (vim / emacs) to modify files like
/etc/php/7.0/fpm/php.ini instead. Many of these may or may not apply to you and should only be used as a guide or starting point. Use at your own risk.