$_SERVER['REQUEST_URI'] not set and phpinfo() throws error #130
Unanswered
MiguelDebruyne
asked this question in
Help / Questions
Replies: 2 comments
-
Five-Server does not provide a full php server. |
Beta Was this translation helpful? Give feedback.
0 replies
-
My apologies, I should have seen that. I thought this was so basic that it's impossible for anyone to develop a website in php without that and my knowledge is to small to have seen that this is a php server issue. Feel free to delete. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I did the installation, installed XAMPP for the first time, I've done no edits to config files except in VSC I added
/usr/local/bin/php
to the PHP executable path. No .htaccess in my project. It works, however, $_SERVER['REQUEST_URI'] is not set, when I looked further trying to debug I saw phpinfo() just throws an errorPHP Fatal error: Uncaught Error: Call to undefined function php_info()
. Any idea why that is?Edit: I've just come back from a long hiatus in programming, someone asked me to do php_info() while it should have been phpinfo(), which does work. I typed it here correctly, funnily enough.
Working on MacOs Big Sur.
Beta Was this translation helpful? Give feedback.
All reactions