按装phpcms时提示short_open_tag要设置为on,我在php.ini中设置了on,并重新调动了Apache,再次安装时还是提示short_open_tag要设置为on,这是为什么??
    请各位高手相助!!

解决方案 »

  1.   

    php.ini你想window里面复制了么?
      

  2.   

    不明白你的意思,我是在windows目录下的php.ini 下改的
      

  3.   

    phpcms 里的缓存文件给删了。
    windows里的 php.ini 你再打开看看是否真的更改了?
      

  4.   

    浏览器,Apache,再重启下
    不知道你有没有保存(+_p)
      

  5.   

    改了
    short_open_tag = On           [Portability]
    ;     Using short tags is discouraged when developing code meant for redistribution
    ;     since short tags may not be supported on the target server.;;;;;;;;;;;;;;;;;;;;
    ; Language Options ;
    ;;;;;;;;;;;;;;;;;;;;; Enable the PHP scripting language engine under Apache.
    engine = On; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
    zend.ze1_compatibility_mode = on; 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