Phar 擴充已與 PHP 捆綁在一起,並預設啟用。要停用 Phar 支援,請使用 --disable-phar。
在之前的 PHP 版本中,Phar 可以透過 PECL 擴充安裝,» Phar PECL 頁面 包含更多資訊和歷史記錄。