Commit ede0f9d1 authored by Fabien Potencier's avatar Fabien Potencier

Merge remote branch 'igorw/phar-bug'

* igorw/phar-bug:
  [docs] document phar-stub bug in pitfalls
parents e5b0d0e7 42bf04a0
......@@ -492,3 +492,14 @@ If you are on Suhosin you will also have to set this:
.. code-block:: ini
suhosin.executor.include.whitelist = phar
Phar-Stub bug
~~~~~~~~~~~~~
Some PHP installations have a bug that throws a ``PharException`` when trying
to include the Phar. It will also tell you that ``Silex\Application`` could not
be found. A workaround is using the following include line::
require_once 'phar://'.__DIR__.'/silex.phar/autoload.php';
The exact cause of this issue could not be determined yet.
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