Re: Install Package Fails

From: Date: Wed, 25 Sep 2002 13:23:59 +0000
Subject: Re: Install Package Fails
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9490@lists.php.net to get a copy of this message
On Wed, Sep 25, 2002 at 04:03:04PM +0200, Tal Peer wrote: > The -r option is currently only in 4.3.0-dev (it acts like perl -e). Ok, thank you. Now why would pear not execute? The script is readable for me, and points to the correct interpreter, which I can start as a user: kris@p15104972:~ > ls -l which pear -rwxrwxrw- 1 root root 8966 Sep 25 14:34 /usr/bin/pear kris@p15104972:~ > head -1 !$ head -1 which pear #!/usr/bin/php -Cq kris@p15104972:~ > ls -l /usr/bin/php -rwxr-xr-x 1 root root 2063372 Sep 21 18:04 /usr/bin/php kris@p15104972:~ > /usr/bin/php -v 4.2.3 Also, I can start the thing manually: kris@p15104972:~ > /usr/bin/php -Cq /usr/bin/pear Usage: pear [options] command [command-options] <parameters> Type "pear help options" to list all options. Type "pear help <command>" to get the help for the specified command. ... When I start pear directly, I get a permission denied despite the fact that the execve does not return -1: kris@p15104972:~ > strace /usr/bin/pear execve("/usr/bin/pear", ["/usr/bin/pear"], [/* 47 vars */]) = 0 strace: exec: Permission denied kris@p15104972:~ > Also, I was able to start pear with this php interpreter before the upgrade. Kristian

« previous php.pear.dev (#9490) next »