I would like to make my UnitTests available to see via the browser.
My directory structure looks like this:
application
docs
public
- index.php
tests
My DocumentRoot is in the public folder. However, when I try to add an alias /source to my Apache configuration and set add the type php-source to the .php files (instead of just .phps) Apache still tries to execute the files.
Is there a smart way to do this?
This is the solution I found:
Easiest way, is simply rename/copy the file to a .phps extension.
The MIME type should already be in place and you should be ready to go.