Apache 2.4 + PHP-FPM and Authorization headers

Various Apache modules will strip the Authorization header, usually for “security reasons”. They all have different obscure settings you can tweak to overrule this behaviour, but you’ll need to determine exactly which module is to blame. You can work around this issue by passing the header directly to PHP via the env: SetEnvIf Authorization “(.*)” … Read more

How to disable XDebug

Find your php.ini and look for XDebug. Set xdebug autostart to false xdebug.remote_autostart=0 xdebug.remote_enable=0 Disable your profiler xdebug.profiler_enable=0 Note that there can be a performance loss even with xdebug disabled but loaded. To disable loading of the extension itself, you need to comment it in your php.ini. Find an entry looking like this: zend_extension = … Read more

tech