Apparently, there was a problem debugging LAMP and PHP built-in servers on phpleague route package. Comparing the output — /, / on LAMP and built-in servers in addition to /api/v1/ping supposed to emmit JSON validated array, the meld --diff *.txt saving the output var_dump($_SERVER); at the pre-route stage is promising —

Root path for built in and API route for built in $_SERVER dump

You can see clearly, that path information is assigned to only built-in server variables, meaning LAMP is unusable on a traditional HTTP open source foundation…



PHP Developer in e-commerce and e-loans industry fields.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store