Repository navigation
$_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. |
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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/phpto 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.
All reactions