In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you the problem of how to solve the phpcms prompt I o error. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
Phpcms prompts the solution to the I / o error: first open the IIS manager and find the site of the website; then stop and double-click "request filter" in IIS to open it; then click "Edit feature Settings" and open the "Edit request filter Settings" dialog box; finally, modify the maximum capacity length.
In iis environment, phpcms v9 uses swfupload to upload large attachments to prompt server iUnix error
The method of modifying the size limit of files uploaded by PHP
1. General file upload, unless the file is very small. Like a 5 m file, it will probably take more than a minute to upload.
But in php, the default maximum execution time for this page is 30 seconds. That is, after more than 30 seconds, the script stops execution.
This leads to the inability to open the web page. At this point we can modify the max_execution_time
Look for it in php.ini
Max_execution_time
The default is 30 seconds. Change to
Max_execution_time = 0
0 means there is no limit
two。 Modify post_max_size to set the maximum size allowed for POST data. This setting also affects file uploads.
The default post_max_size of php is 2m. If the POST data size is greater than post_max_size $_ POST and $_ FILES superglobals, it will be empty.
Look for post_max_size. Change to
Post_max_size = 150m
3. Many people will change the second step. But when uploading files, the maximum is still 8m.
Why。 We also need to change the parameter upload_max_filesize to indicate the maximum size of the uploaded file.
Find upload_max_filesize. Default is 8m instead of
Upload_max_filesize = 100m
It is also important to note that post_max_size is greater than upload_max_filesize.
In the iis7 environment, phpcmsv9 uses swfupload to upload large attachments to prompt the server iUnix 0 error
At first, I thought I could only change the value of configuring the php.ini file to control the size of the uploaded file, but I made a mistake when I passed it on.
Later, we searched for all kinds of answers, and today we have solved it.
The solution is as follows:
1)。 Open IIS Manager and find the site of your website. Let's stop it. Then double-click request filter in IIS to open it.
2)。 Click Edit feature Settings on the right to open the Edit request filter Settings dialog box. The maximum allowed capacity length, which defaults to "30000000", 30m, can be changed to the size you need. Then start IIS.
The above is the editor for you to share how to solve the problem of phpcms prompt I o error, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.