Setting up .phar
page last edited on 27 September 2016
The .phar lib is used for creating PHP archives. PHP 5.3 always has this extension built-in, but hosting teams may disable it for some reason.
In order to enable it try the following:
- Contact your hosting team and ask them to enable it.
- Your server’s control panel may have tools for enabling PHP extensions. Check your hosting Knowledge Base for more info.
- If you are running your own hosting, you can download the .phar lib here http://pecl.php.net/package/phar and install it according to the instructions given
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.