Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4996 - php 4.2.1-r3 : 'pear' command dies looking for /usr/bin/php
Summary: php 4.2.1-r3 : 'pear' command dies looking for /usr/bin/php
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-14 15:26 UTC by Tom von Schwerdtner
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.