PHP has encountered an access violation at 7c94bd02 Solution

Source: Internet
Author: User
Tags php error

Record

After reading a lot on the internet, I finally found that the problem was solved by two sites using one application pool :)

The following are some solutions on the Internet:

PHP has encountered an access violation at 7c94bd02 Solution

Restart IIS to solve this problem!

The solution is as follows:

The first possibility:

Removing the extension of eaccelerator in PHP can solve your problem, but it may increase the system burden because eaccelerator is mainly used to save system resources.

The specific method is to find PHP. if INI is configured for you, it is usually in C:/PHP. ini or C:/winnt/PHP. ini or C:/Windows/PHP. ini

Remove

 
Zend_extension_ts = "C: \ PHP \ extensions \ eaccelerator_win_xxx.dll" eaccelerator. shm_size = "16" eaccelerator. cache_dir = "C: \ Temp" eaccelerator. enable = "1" eaccelerator. optimizer = "1" eaccelerator. check_mtime = "1" eaccelerator. DEBUG = "0" eaccelerator. filter = "" eaccelerator. shm_max = "0" eaccelerator. shm_ttl = "0" eaccelerator. shm_prune_period = "0" eaccelerator. shm_only = "0" eaccelerator. compress = "1" eaccelerator. compress_level = "9"

EA is mainly developed in UNIX environments, but the author ignores that the bug that windows is not actually the same as u host, but the memory sharing mechanism without U host has been submitted to them, hope 0.9.5 can solve the problem

Of course, if this problem is not serious on your machine, it is recommended to retain it. EA is a very good PHP cache + acceleration software used with Zo, which will reduce the system burden by about 50%-80%, increase load capacity, speed, and efficiency by about 200%

Second possibility

Session_save_path needs to set an actual physical path, and this directory requires all the permissions of everyone, similar to the 0777

The third possibility is that C:/winnt/temp or C:/Windows/temp also requires all the permissions of everyone, similar to the 0777

The fourth possibility is that your memory is seriously insufficient. Check that if there is a problem, please add the memory. It is best to add two at a time, for example, add 1 GB memory, or add two identical 512 MB. Otherwise, the dual-channel is not enabled, and the effect is normal.

Fifth, the combination of zendoptimizer and PHP is not very good. Try another version and try php4.3.11 + Zo 2.5.10a or php4.4.1 + Zo 3.0 beta2.

Sixth possibility

This is mostly because win2003 users set limits in the application pool, such as how long to recycle and how much memory to use. These settings will inevitably cause this classic PHP error.

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.