PHP Config open remainder tab

Source: Internet
Author: User
PHP Configuration Open Short label

While PHP advocates the standard notation:


    
      >

But when docking with some systems may be used by the other side of the non-standard wording:


    
      ?>

Docking or to be carried out, we run the other side of the code will be error, need to configure the local environment to support the wording of the short label , configuration method:
Modify the Short_open_tag of the php.ini to be enabled

short_open_tag = On

Tips: There will be 2 short_open_tag in the Xampp,php.ini, the test really works is xampp under, that is, the following configuration short label is off

; http://php.net/short-open-tagshort_open_tag=On; XAMPP for Linux is currently old fashionedshort_open_tag = Off
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.