I have install ZendFramewrok with instruction on: http://framework.zend.com/manual/en/learning.quickstart.create-project.html and when I try to run command like
php -i
I get this error:
/usr/bin/php: line 1: ?php: No such file or directory
/usr/bin/php: line 2: /bin: Is a directory
/usr/bin/php: line 3: Desktop: command not found
/usr/bin/php: line 4: Desktop: command not found
/usr/bin/php: line 5: Desktop: command not found
/usr/bin/php: line 6: Desktop: command not found
/usr/bin/php: line 7: Desktop: command not found
/usr/bin/php: line 8: Desktop: command not found
/usr/bin/php: line 9: Desktop: command not found
/usr/bin/php: line 10: Desktop: command not found
/usr/bin/php: line 11: Desktop: command not found
/usr/bin/php: line 12: Desktop: command not found
/usr/bin/php: line 13: Desktop: command not found
/usr/bin/php: line 14: Desktop: command not found
/usr/bin/php: line 15: Desktop: command not found
/usr/bin/php: line 16: Desktop: command not found
/usr/bin/php: line 17: Desktop: command not found
/usr/bin/php: line 18: syntax error near unexpected token `('
/usr/bin/php: line 18: ` * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)'
I am using Ubuntu 11.04. Does anyone know what can be the problem?
Shandu, I think your current PHP install is broken. ZF isn’t a source, as just simple
php -iis a base key.Try to reinstall PHP somehow to get normal default result of
php -i