DH for prado

apps

#1

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
[enzo]$

My regards


#2

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.


#3

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 :
/usr/local/php5/bin/php

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

My regards


#4

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

http://wiki.dreamhost.com/PHP#PHP_on_DreamHost

–rlparker
–DreamHost Tech Support


#5

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

My regards