如何解决CakePHP中的PHP版本5.4

时间:2015-10-05 06:37:32

标签: php cakephp

您好最近我已经将我的PHP版本从5.0更新到5.4,但它在我的CakePHP项目中创建错误,因为它在旧版本的PHP上运行,错误是

  

致命错误:语法错误,意外的文件结尾

在每个项目上显示常见错误错误如何删除此请帮助。谢谢

1 个答案:

答案 0 :(得分:2)

在php.ini文件中打开short_open标签

$ mpif90 scat_gath2.f90
$ mpirun -n 3 ./a.out 
 N_COLS:         100 N_ROWS:         200  TOTAL_SUM:   10004.4443    
 N_COLS:         100 mpisize:           3 to_each_cpu\oddment:          33  \            1
           1  to_each_cpu:        6800  sub_split_buff_displ:           0 =        6800
           2  to_each_cpu:        6600  sub_split_buff_displ:        6800 =       13400
           3  to_each_cpu:        6600  sub_split_buff_displ:       13400 =       20000
 N_COLS:         100 N_ROWS:         200  TOTAL_SUM:   10004.4443    

 short_open_tag=Off