Php Binary

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Erehwon
Posts: 5
Joined: Mon Feb 07, 2005 7:13 pm
Contact:

Php Binary

Post by Erehwon »

Greetings -

System: Linuix Mandrake 10.1

I am in the process of installing and am at the screen where it locates the paths to files. It has found everything except the path to the php binary.

Any suggestions on how to correct this? I have looked in /etc/usr and do not see any php file there. I am able to view php files just fine through apache.

Edit: I do see a php.ini and php.d/ folder in /etc

Thanks
Last edited by Erehwon on Mon Feb 07, 2005 7:24 pm, edited 1 time in total.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Code: Select all

which php
This will find php, if it's in your path.

Also, make sure it's installed:

Code: Select all

rpm -qa | grep php
Lastly, you can use locate or find to see where it is:

Code: Select all

locate php 
or

Code: Select all

find / -name php
Gluck
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Erehwon
Posts: 5
Joined: Mon Feb 07, 2005 7:13 pm
Contact:

Post by Erehwon »

Answers to the following:

>which php
>which: no php in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)

>rpm -qa | grep php
p-ini-4.3.8-1mdk
libphp_common432-4.3.8-3mdk
apache2-mod_php-2.0.50_4.3.8-2mdk
php-mysql-4.3.8-1mdk

>locate php
/usr/lib/php
(among MANY other entries here)

>find / -name php
/usr/lib/php
(agamin many entries here)


Ideas?
Erehwon
Posts: 5
Joined: Mon Feb 07, 2005 7:13 pm
Contact:

Post by Erehwon »

Well I got it working...

Went into the package manager to see what other php goodies there were to installed..

I installed the php dev stuff and that seemed to fix it =)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests