Hi!

> I'm experiencing a little problem with php and cherokee. When I use the
> short php syntax to print a variable value (<?=$var?>), this piece of code
> is not interpreted by php.
> I'm trying to figure out if it is a php problem or a cherokee problem. I'm
> not saying this is a bug in cherokee, probably I did something wrong in my
> cherokee configuration. Anyway, would someone help me?

Ensure you have this in your php.ini:

; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.

short_open_tag = On


-- 
Saludos:
Antonio Pérez
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to