Apache-phppost cannot be obtained online.

Source: Internet
Author: User
After the code is changed to the server, the $ post request will not be available, and all Super global variables will not be available, including $ _ QUERST. the file location and code are fine, and can be used on previous servers. When the new server is installed with yum, I changed the default path of Apache. Print the $ _ POST array page...

After the code is changed to the server, the $ post request will not be available, and all Super global variables will not be available, including $ _ QUERST. the file location and code are fine, and can be used on previous servers. When the new server is installed with yum, I changed the default path of Apache. Print the blank $ _ POST array page.
It should be because the server has disabled POST reading, or it may have changed the path. POST reading is not allowed in this path. Please help me solve the problem. This is phpinfo.

Reply content:

After the code is changed to the server, the $ post request will not be available, and all Super global variables will not be available, including $ _ QUERST. the file location and code are fine, and can be used on previous servers. When the new server is installed with yum, I changed the default path of Apache. Print the blank $ _ POST array page.
It should be because the server has disabled POST reading, or it may have changed the path. POST reading is not allowed in this path. Please help me solve the problem. This is phpinfo.

Solved the php version problem.

Too many images are missing
Check whether the permission is correct. if the php version cannot be switched, the php environment cannot be re-installed.

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.