New Install Error

aperezcrespo wrote on Friday, November 30, 2007:

Hi guys
    Clean off CVS I get a blank screen for setup and the following in the apache2 error.log file:
PHP Parse error:  syntax error, unexpected $end in /srv/www/htdocs/openemr/setup.php on line 415

Using Apache2
PHP5
MySQL 5

Thanks
Alfonso

andres_paglayan wrote on Friday, November 30, 2007:

Hi,
try refreshing your cvs repo, some file might be corrupted,
I just did an install an nothing wrong happened,

aperezcrespo wrote on Friday, November 30, 2007:

Found the problem in PHP.INI file itself.
This is the text in PHP.INI once set to on the error goes bye-bye.
I noticed that in setup.php some <?php and some <?.

; 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

Thanks guys
Alfonso