Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 4996

Summary: php 4.2.1-r3 : 'pear' command dies looking for /usr/bin/php
Product: Gentoo Linux Reporter: Tom von Schwerdtner <tvon>
Component: Current packagesAssignee: Ryan Phillips (RETIRED) <rphillips>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom von Schwerdtner 2002-07-14 15:26:28 UTC
AFAIK, it should work (except for the fact that there is no /usr/bin/php)

Error:

bash: /usr/bin/pear: /usr/bin/php: bad interpreter: No such file or directory
Comment 1 Tom von Schwerdtner 2002-07-14 15:43:35 UTC
mhm, okay, should have done more research....

/usr/bin/php is created when php is compiled as CGI (and maybe with CLI?).

Pity, 'pear' seems useful.
Comment 2 Roman Weber 2002-07-14 16:15:06 UTC
Look into dev-php/php

Roman
Comment 3 Grant Goodyear (RETIRED) gentoo-dev 2002-07-14 16:16:45 UTC
Try "emerge dev-php/php", although you'll have to unmask it first.
I believe that dev-php/php is the cli/cgi version, and dev-php/mod_php
is the apache mod.  Bouncing to rphillips@gentoo.org for confirmation.
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2002-07-14 20:00:54 UTC
 Grant has it exactly right.