ubuntu how to check apache web server port code example Example: check apache running port ubuntu <?php phpinfo();