I wrote a program locally and put it under the server. I found that the results returned by the model under the server are different from those returned locally.
Source: Internet
Author: User
After I write a program locally on the server, I find that the results returned by the model on the server are different from those returned by the local server. After I write a program locally on the server, I find that the results returned by the model on the server are different from those returned by the local server. Local windows + apacheArray (& nbsp; [0] = & gt; Arr I wrote a program locally and put it on the server. I found that the results returned by the model on the server are different from those returned locally.
After I write a program locally on the server, I find that the results returned by the model on the server are different from those returned by the local server.
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
)
)
)
Why. Expert advice
------ Solution --------------------
Is the associated key Module missing?
Post related code
------ Solution --------------------
Php running on web servers is irrelevant. it is impossible for different web servers to lead to different php running results.
However, the php version may affect the running result.
The php environment configuration may also affect the running result.
You can first compare the versions and configurations of both parties.
It is estimated that the associated key name at a location is missing the quotation marks.
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.