You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install pyrus on a Debian Wheezy vagrant box, my php version is 5.4.39-0+deb7u1 (cli). Also I have downloaded the latest phar to /opt which has permission as normal user, vagrant in this case. No matter what I try pyrus is trying to create a .config directory from the parent dir that is chosen. ie if I choose /home/vagrant as the default dir, pyrus will try to create /home/vagrant.config
To reproduce:
/opt$ php --version
PHP 5.4.39-0+deb7u1 (cli) (built: Mar 20 2015 15:16:28)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
vagrant@vagrant-debian-wheezy64:/opt$ php pyrus.phar install pear/PHP_CodeSniffer
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Pyrus: No user configuration file detected
It appears you have not used Pyrus before, welcome! Initialize install?
Please choose:
yes
no
[yes] :
Great. We will store your configuration in:
/home/vagrant/.pear/pearconfig.xml
Where would you like to install packages by default?
[/opt] :
You have chosen:
/opt
Pyrus\Config\Exception: Cannot save configuration, no filesystem permissions to modify PEAR directory /opt.config
vagrant@vagrant-debian-wheezy64:/opt$
Seems to me that pyrus might be getting a null value from somewhere instead of a directory seperator? The only similar issue I could find was from 2010 - so this might not be bug, as such, and might be my server setup?
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to install pyrus on a
Debian Wheezy
vagrant box, my php version is5.4.39-0+deb7u1 (cli)
. Also I have downloaded the latest phar to/opt
which has permission as normal user,vagrant
in this case. No matter what I try pyrus is trying to create a.config
directory from the parent dir that is chosen. ie if I choose/home/vagrant
as the default dir, pyrus will try to create/home/vagrant.config
To reproduce:
Seems to me that pyrus might be getting a
null
value from somewhere instead of a directory seperator? The only similar issue I could find was from 2010 - so this might not be bug, as such, and might be my server setup?The text was updated successfully, but these errors were encountered: