Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting with a basic file cannot execute #135

Closed
vinyll opened this issue Jan 21, 2023 · 1 comment
Closed

Starting with a basic file cannot execute #135

vinyll opened this issue Jan 21, 2023 · 1 comment

Comments

@vinyll
Copy link

vinyll commented Jan 21, 2023

Create an index.php file with the following

<php
echo "Hey!";
?>

Start the docker and open the webrowser at https://localhost, accept "the risk".

The following message occurs:

Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Failed opening required '/app/public/index.php' (include_path='.:/usr/local/lib/php') in Unknown on line 0
@vinyll
Copy link
Author

vinyll commented Jan 21, 2023

Nevermind, the filename didn't match.

Also not sure how to run the equivalent of an httpaccess with modrewrite, but that's another topic.

@vinyll vinyll closed this as completed Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant