I am trying to install the Drupal Console for Drupal 8 on Linux Mint 17.1. During the installation I am getting the following warning notice:

[ ] Notice: The "phar.readonly" setting needs to be off to create Phars.

Any idea how to solve this? Will this effect the console operation?

  • Welcome to Drupal Answers! This is a plain PHP question, since phar.readonly is a PHP directive and Drupal doesn't change how it works or how it is set. – kiamlaluno Dec 1 '15 at 4:29

Add this to your php.ini:

phar.readonly = Off

It won't affect the console's operation (unless it needs to create phars at some point, in which case it now can, whereas it couldn't before).


Yes it won't affect the console operation; the message will be removed on the next release since the installer has been changed.

And you can remove the warning by doing what Clive mentioned.

Not the answer you're looking for? Browse other questions tagged or ask your own question.