debian - Can't use pear, "could not create directory '/usr/bin/php/.registry'" message as response to every command -


i installed pear on debian 8.8, somehow, output of every pear command run except pear , pear version:

warning: mkdir(): file exists in system.php on line 295 php warning:  mkdir(): file exists in /usr/share/php/system.php on line 295  warning: mkdir(): not directory in system.php on line 295 php warning:  mkdir(): not directory in /usr/share/php/system.php on line 295 not create directory '/usr/bin/php/.registry' 

i modified system.php make var dump, line 295 originaly line 294. content of pear.conf:

#pear_config 0.9 a:12:{s:15:"preferred_state";s:6:"stable";s:8:"temp_dir";s:17:"/tmp/pear/install";s:12:"download_dir";s:17:"/tmp/pear/install";s:7:"bin_dir";s:8:"/usr/bin";s:7:"php_dir";s:14:"/usr/share/php";s:7:"doc_dir";s:9:"/usr/docs";s:8:"data_dir";s:9:"/usr/data";s:7:"cfg_dir";s:8:"/usr/cfg";s:7:"www_dir";s:8:"/usr/www";s:7:"man_dir";s:8:"/usr/man";s:8:"test_dir";s:10:"/usr/tests";s:10:"__channels";a:3:{s:5:"__uri";a:0:{}s:11:"doc.php.net";a:0:{}s:12:"pecl.php.net";a:0:{}}} 


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -