Commit a34f2995 authored by Igor Wiedler's avatar Igor Wiedler

[docs] a section about common pitfalls

parent 100e3dc2
......@@ -346,3 +346,26 @@ you can create by calling the ``redirect`` method::
});
This will redirect from ``/`` to ``/hello``.
Pitfalls
--------
There are some things that can go wrong. Here we will try and outline the
most frequent ones.
PHP configuration
~~~~~~~~~~~~~~~~~
Certain PHP distributions have restrictive default Phar settings. Setting
the following may help.
.. code-block:: ini
phar.readonly = Off
phar.require_hash = Off
If you are on Suhosin you will also have to set this:
.. code-block:: ini
suhosin.executor.include.whitelist = phar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment