I wrote the program locally and put it on the server and found that the model returned on the server was different from the local

Source: Internet
Author: User
I wrote the program locally and put it on the server and found that the model returned on the server was different from the local one.
I wrote the program locally and put it on the server and found that the model returned on the server was different from the local one.
Local Windows+apache
Array (
[0] = = Array (
[Module] = = Array (
[id] = 3
[Title] = Activity Management
)
)
[1] = = Array (
[Module] = = Array (
[id] = 8
[Title] = User Management
)
)
Server Linux+nginx
Array (
[0] = = Array (
[0] = = Array (
[id] = 1
[Title] + member Management
)
)
[1] = = Array (
[0] = = Array (
[id] = 3
[Title] = Activity Management
)
)
)
This is why AH. Seek expert guidance
------Solution--------------------
Association key Module Gone?
Post the relevant code
------Solution--------------------
PHP is not run on the Web server, it is not possible because of the different Web server, the result of PHP run different
But the PHP version is likely to affect the results of the operation
The environment configuration of PHP may also affect the results of the operation

You can compare the version and configuration of the two sides first.

Estimate the associated key name in a place with less quotes
  • 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.