About deploying a php project in linux-php Tutorial

Source: Internet
Author: User
To deploy a php project in linux, go straight to the topic:

1. session usage:

No output is available before session_start.

For example, echo 'hi'

Or a common html tag

Or empty rows

2. the header jump page. Like session, no output can be provided before.

3. in the iframe framework, do not forget to write session_start in the loaded page before using the session .. otherwise, after a day's adjustment, suddenly the chrysanthemum was stunned and found that the session was unavailable. I thought the session was invalid after the page jump.



4. about mysql database deployment.

The names of all mysql databases in windows np databases and tables are case-insensitive,

However, linux is case sensitive. Note this when transferring projects.

Reprinted please explain the source http://blog.csdn.net/youmypig/article/details/38346233

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.