When executing either of the following
composer run app
php -S 127.0.0.1:3000 index.php
Accessing this address in the browser returns a blank page.
The output of the following commands upon execution is:
composer run app:
php -S 127.0.0.1:3000 index.php:
See the last line in the screenshot above.
The browser window, with
http://127.0.0.1:3000 as a URI, is empty as follows:
Switching back to the terminal:
Can someone tell me what I’m doing wrong?
With kind regards.
Hey @janik.driehaus I notice in a few of your examples you’re mentioning
php -S 127.0.0.1:3000 index.php - be sure that you’re invoking
php -S 127.0.0.1:3000 public/index.php from the
app directory. This appears to be the issue in your final example.
In the second-to-last example, can you confirm you have a
.env file present in the
please pardon the long delay. I was able to get the sample app to run, many thanks! You’ve saved me a headache.
I redownloaded the sample and followed the steps for installing composer; I must have run the commands in a wrong directory.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.