Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Bug #19645 Get permission denied when running pear
Submitted: 2012-10-09 18:21 UTC
From: robipro Assigned: avb
Status: No Feedback Package: PEAR
PHP Version: 5.3.15 OS: linex 2.6.3212
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 34 - 14 = ?

 
 [2012-10-09 18:21 UTC] robipro (Andre Robillard)
Description: ------------ I have installed as root the Pear package manager (go-pear.phar) on a linux (version 2.6.3212) and the application was properly installed on /usr/local/php/bin. I get the message that pear is now at my service at /usr/local/php/bin/pear. No error were reported during the installation. But when I execute pear, I keep getting the error /usr/local/php/bin/pear: exec: line 28: /usr/local/php/bin/php: Permission denied. During the installation, no php file got copied into /usr/local/php/bin. The php file is located in /usr/local/etc, not where pear believes it is located. I can't use pear config-get php_dir because of the error php --ini gives me the proper path to user-setting.ini php -c /path/to/php.ini -r 'echo get_include_path()."\n";' gives me a lot of warnings saying that extensions files can't be found in /usr/local/php/lib/... no php/lib has been created during the installation. the check_pear.php won't work (I guess it can't find the include System.php) I've looked around but I couldn't find where I could modify the information. Anyone can help?

Comments

 [2014-06-30 13:30 UTC] avb (Alexey Borzov)
-Status: Open +Status: Feedback
go-pear.phar does not install / move / copy the PHP binary. So a question is: do you have /usr/local/php/bin/php file? What are the permissions on that?
 [2017-02-28 18:15 UTC] ashnazg (Chuck Burgess)
-Status: Feedback +Status: No Feedback -Assigned To: +Assigned To: avb