Windows environment Development YII upload program to Linux server when the program runs inconsistent results of the problem Windows latest version WINDOWS10 setup windows members

Source: Internet
Author: User
Tags browser cache sublime sftp
In the Windows environment using sublime development, the local Apache server debugging, using the sublime sftp plugin to upload to the Linux server synchronously, the page preview under Windows is normal, the remote Linux page part shows abnormal, Part of the code in the page is not parsed by the YII framework and is exported directly in HTML format.


Workaround:

1. Use Var_dump () to check the error page to see if the variable exists

2. If it does not exist, resolve the problematic PHP file one by one according to the error message of the page prompt

3. When developing synchronously using SFTP, do you want to disable the synchronization of some directory code? Causes the local Yii framework file not to be uploaded to the Linux server "view Sftp-config.json file

"Ignore_regexes": [
"\\.sublime-(Project|workspace)", "Sftp-config (-alt\\d?)"? \\.json ",
"Sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
"\\.bzr", "_darcs", "CVS", "\ \". Ds_store "," thumbs\\.db "," Desktop\\.ini "," Runtime "," Vendor "
],

4. Try emptying the browser cache

The above describes the Windows environment Development Yii upload program to the Linux server when the program run inconsistent results, including the content of Windows, I hope to be interested in PHP tutorial friends helpful.

  • Related Article

    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.