Mac上的Apache,MySql,dan PHP

I am following this tutorial to setup my Mac as the web server: https://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-osx-10-11-el-capitan/

But unfortunately I got stuck, if I access the http://localhost/~username/info.php it works normally, but when I access only: http://localhost/info.php it says forbidden, any idea how to fix this?

Edit:

I want to access both the System root and User root
Big Thanks

I think to achieve this, you would need to activate and use virtual host.
Try this:
1) Open httpd.conf file:

sudo nano /etc/apache2/httpd.conf

2) Look for followig line and uncomment it:

# Virtual hosts

Include /private/etc/apache2/extra/httpd-vhosts.conf

3) This will allow usage of the httpd-vhosts.conf file, open this file to add in the vhost.

sudo nano /etc/apache2/extra/httpd-vhosts.conf

4) Add following code in the start of the file.

<VirtualHost *:80>
ServerName localhost
DocumentRoot /Library/WebServer/Documents/
</VirtualHost>