Dear friends, I have a problem and urgently need to solve PHPhasencounteredanAccessViolationat * (these codes are not fixed)
Source: Internet
Author: User
Dear friends, I have a problem to solve. PHPhasencounteredanAccessViolationat ***** (these codes are not fixed). my environment is windows + phpphp: PHPVersion5.2.5 I can see on the Internet that it is an official BUG. this problem is not difficult for you. I have a problem that urgently needs to solve PHP has encountered an Access Violation at ***** (these codes are not fixed)
My environment is windows + php. The php Version is: PHP Version 5.2.5.
I said it was an official BUG on the Internet.
This problem does not occur frequently. you can refresh it several times when it occurs. But what is the problem? as a result, I can't solve all the problems I search online.
1. what is PHP eaccelerator found on the website? I don't have PHP. ini.
2. there is also a SESSION path problem. this is impossible. I have no problem logging in to the background, and I cannot submit a form to use the SESSION.
3. In addition, the permission for c:/winnt/temp is incorrect. I put this environment variable in the folder due to security issues and grant all access permissions.
4. there is also insufficient memory. this is unlikely. my server has 8 GB of memory and there are not many visitors on the new site.
5. I have also removed the restriction set in the application pool.
I have tried all of the above methods.
Can I fix the PHP version upgrade?
Please help me solve this problem. thank you.
------ Solution --------------------
This is caused by conflicts between php and window memory management.
When the php core code application does not have enough memory, it will appear. In fact, php has a memory overflow performance.
You can change the version. why is php always upgraded? The reason is that he is constantly discovering and troubleshooting problems.
If you do not want to always perform version upgrades, you must select at least an even small version number.
Modify. I = 1, 3, 5, 7... to test the problem.
We found that there were still deficiencies in the previous modification. I = 2, 4, 6, 8...
Therefore, even small version numbers are relatively stable versions.
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