On Wed, 2004-04-07 at 18:17, Andy B wrote:
> it was installed with get
> and which php doesnt do anything just returns to the prompt with no output
> 
> ----- Original Message ----- 
> From: "Curt Zirzow" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 07, 2004 8:11 PM
> Subject: Re: [PHP] path to binary for php on linux
> 
> 
> > * Thus wrote Andy B ([EMAIL PROTECTED]):
> > > anybody know what the exact path for the php binary on linux is?
> > 

locate finds all files containing the search string ... this works..
but you can just find binaries and important conf-files with

[EMAIL PROTECTED] ~--->whereis php4
php4: /usr/bin/php4 /etc/php4 /usr/lib/php4 /usr/include/php4 
/usr/share/man/man1/php4.1.gz
[EMAIL PROTECTED] ~--->


also depending on what linux you are using ...
you can just ask the package manager...

redhat-> rpm -qa | grep php4 
then rpm -qp --filebypkg php4_main.rpm // or whatever the above command tells you the 
name is

debian-> dpkg -L php4

good luck,
jd

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to