path problem with php under mandrake 9.2
| From: | Philippe Rousselot | Date: | Wed, 21 Jan 2004 10:07:31 +0000 |
| Subject: | path problem with php under mandrake 9.2 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10266@lists.php.net to get a copy of this message | ||
Hi,
To install pear on a red hat I do:
> lynx -source http://pear.php.net/go-pear | php -q
It works fine.
I tried to do the same with Mandrake 9.2 and got the following error
message:
> bash: php: command not found
same story with pear config-show
> /usr/bin/pear: line 28: /usr/bin/php: No such file or directory
> /usr/bin/pear: line 28: exec: /usr/bin/php: cannot execute: No such
file or directory
Any idea on the problem ?
Of course PHP has been installed
[root@asus_creteil html]# rpm -qa | grep "php"
apache2-mod_php-2.0.47_4.3.2-2mdk
php-xmlrpc-4.3.2-3mdk
php-xml-4.3.2-3mdk
php-gd-4.3.2-4mdk
php-pgsql-4.3.2-5mdk
php-ini-4.3.3-1mdk
php-imap-4.3.2-3mdk
php-mysql-4.3.2-3mdk
php-readline-4.3.2-3mdk
php-ldap-4.3.2-3mdk
libphp_common432-4.3.3-2mdk
php-pear-4.3.2-3mdk
Thanks in advance
Philippe