Dave Hollingworth
Dave Hollingworth
It looks like an error with Composer - Composer requires PHP 7.4, so it won't work with 7.3.2.
A 500 error will be accompanied by more error detail in the server's error log - do you have access to that to see what the error is? I would...
Looking at your file structure above, it looks quite a bit different to the original - the public folder should just contain the index.php script, along with any static files....
Ah ok. The first message in this thread was missing the "Controllers" and "Models" folders which is why I thought it might have been that. How is your live host...
That looks like it should work. Try commenting out these two lines to see if that makes a difference: ``` RewriteCond %{HTTP_HOST} ^(www.)?mydomain.com$ RewriteRule ^(/)?$ public/index.php [L] ```
It's a bit difficult to debug without being able to reproduce it. Perhaps your host can help out as it seems to be specific to their setup? As far as...
@robertaonnis The route you added above would match the homepage, e.g. http://localhost/
I know this is a old thread, but with the latest version of PHPUnit (11), it seems there is still no way to mock a class that doesn't exist yet....
If you're seeing the PHP source code in the browser, please see [this video](https://youtube.com/shorts/l7ERVQd7Ti8?feature=share).