Skip to content
Advertisement

How do I install / enable the PHP phar extension?

I am trying to install Composer on my KnownHost VPS. When I run this command:

JavaScript

I get this error message:

JavaScript

How do I install the phar extension? I am running PHP 5.4.22 on my VPS.

Advertisement

Answer

In the end I solved this by getting my host to rebuild PHP with PDO support.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement