-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fully fledged PHP website - WIP #368
base: main
Are you sure you want to change the base?
Conversation
I fixed the Router a bit. It should work. However, index.php is downloaded as file... @lmangall Do you know what may be the issue |
@dantol29 regarding the accidental downloading of the .php file
I'll test it as well |
…erload-operator fix(segfault): solve buffer overflow due to out-of-bounds access.
Add test to check parallels cgis
@552020 I am working on mostly POST, DELETE for the CGI with the script (database like with a json) we already have in main. Are you doing something similar here ? |
There will be a major change in main. We are kind of overwriting it cause merge main into the branch with the working CGI was causing to many problems. This branch is only about writing a PHP website and should not change the logic of the server itself. |
Okay, thanks for the info. |
I'm sharing this cause I didn't manage to run it with an index.php file and some php going on that page. Our previous PHP site was just html with no php.
In this branch I already added @dantol29 last branch on build response. Can one of you router expert tell me why this is not working.
In the configuration file I wrote
index index.php
cgi_path (with the path to the executable of the php interpreter)
cgi_ext .php
If you want to test you need to change the path to the executable of the php interpreter