Course Directory

Now that we have our Valet environment set up, we will create a course directory. This is where you can store course projects.

1. Open a new Terminal window.

2. Enter the following command into the Terminal window and hit return.

mkdir ~/Sites/mtm6405
cd ~/Sites/mtm6405

3. Enter the following command into the Terminal window and hit return.

echo '<?php phpinfo(); ?>' >> index.php

4. Close the Terminal window

5. In the browser, go to http://mtm6405.test/

You should see something similar to the following:

Screenshot the phpinfo() screen