If you need to run a script from the command line using PHP/PEAR you can!! the correct path is: /usr/local/bin/php -f your_filename.php /d