Questions about php. ini

Source: Internet
Author: User
My local php code can run normally, but an error will be reported when it is uploaded to the server. after checking, it is found that it is caused by empty (intval ($ var. But what puzzles me is that I can run it locally, and an error will also be reported when I do not execute this part of code. So... my local php code can run normally, but an error will be reported when uploaded to the server. Empty (intval ($ var ))This is caused by writing.
But what puzzles me is that I can run it locally, and an error will also be reported when I do not execute this part of code.
So I would like to ask why php. ini has different configurations?

Reply content:

My local php code can run normally, but an error will be reported when it is uploaded to the server.Empty (intval ($ var ))This is caused by writing.
But what puzzles me is that I can run it locally, and an error will also be reported when I do not execute this part of code.
So I would like to ask why php. ini has different configurations?

An error occurred while writing this statement! What error is reported? post it and check it out! Your localPhpVersion andPhpIs the version the same?

This problem happened two days ago.

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.