Thread:Project:Support desk/Parse error when running a script trough terminal/reply (2)

First, I would not try to run this strange extension, which almost certainly is a security risk. But I would try making the shell work correctly.

PHP versions used by Apache and on the shell can be different - and often are. Which PHP version do you have on the shell? You can check that by just calling PHP with the parameter -v and nothing else. I guess you are currently using an old version on the shell, which is the reason for this error you got.