Hi, I'm trying to update Magento with PEAR but it complains of not being able to find PHP. I built PHP 5.2.13 with: So --with-pear is there. But I get this error: [qoute] # ./pear mage-setup Error: ./pear: line 91: exec: php: not found [/quote] Line 91 is: PHP: exec $PHP -C -q $INCARG -d output_buffering=1 -d variables_order=EGPCS \ -d open_basedir="" -d safe_mode=0 -d register_argc_argv="On" \ -d auto_prepend_file="" -d auto_append_file="" \ $INCDIR/pearmage.php -c $PEAR_INI "$@" For one other person it was a chroot issue, but if I set Restrained to No in this virtualhost it makes no difference. Another person had to yum install php5-cli but that is not a recognised package on my CentOS server. Maybe I need to recompile PHP with --enable-cli ? Or how else can I tell PEAR where PHP is and vice versa? I know I can add include paths to PHP.ini or compile with the paths but where is PEAR? Can I hardcode the PHP path in that PHP code?