DH for prado

dear all

how to make prado working in dh, i try basic sintact can’t.

[enzo]$ php prado/framework/prado-cli.php -c hello
Could not open input file: prado/framework/prado-cli.php
[enzo]$ php prado-cli.php -c blog

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/.sanders/mydomain/mydomain.com/prado/framework/prado-cli.php on line 21

My regards

It’s because on the command line the command ‘php’ invokes the php4 interpreter, not php5.

I’m not sure how to invoke php5 from the command line, sorry. Hope somebody will help us here.

i chek like this
[enzo]$ php -v
PHP 4.4.8 (cli) (built: Jan 25 2008 10:01:27)
Copyright © 1997-2008 The PHP Group

event i set default in control panel php5 the cli comand still php4

then i try whit this command :

is working . thank’s for the info .
any way

My regards

Yep! There is a good discussion of that, and other PHP on DreamHost related things on our wiki:


–DreamHost Tech Support

hi how to make memcache n APC , SOAP working in DH i need for prado framework

My regards