Hey there Y’all,
Me and the DevOps that is putting up the site for our community have found some interesting differences between the contents of the
$_SERVER variable on a
mod_php and a
mod_phpthe contents of
php-fpmthe contents of
I’m now somewhat convinced that this is what’s messing the
$webroot content after the
ServerRequestFactory::getBase(), but I’m not completely sure.
I’m still thinking that this is related to some Apache config, but again, I’m just speculating at this time.
This is getting us both really confused, since under
mod_php it just works, but something on the
php-fpm side is messing the contents of the
$webroot variables on the above mentioned static method of the factory.