PHP has encountered a Access violation at 7C94BD02 workaround _php Tutorial

Source: Internet
Author: User
Tags php error
Here's how to fix it:
PHP for Windows bug
Reference:

The first possibility:

Remove the eaccelerator extension from PHP
Doing so will solve your problem, but may add to the burden of the system
Because Eaccelerator is mainly to conserve system resources.

The concrete approach is to find php.ini
If I help you configure, usually in C:/php/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 the UNIX environment, but the author ignores that Windows is actually not like the U-Host, which is the kind of memory sharing mechanism without U-host.
This bug has been submitted to them, I hope 0.9.5 can solve

Of course, if your machine this problem is not serious, it is recommended to retain, EA is a very good PHP cache + acceleration Software
Use with ZO will reduce the system burden of about 50%-80%, improve load capacity, speed and efficiency of about 200%




The second possibility

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




The third possibility
C:/winnt/temp or C:/windows/temp
All permissions are also required for everyone, similar to the 0777 of the U host




The fourth kind of possibility
Your memory is seriously insufficient, check, if there is a problem, please add memory, it is best to add two at a time
For example, add 1G of memory, it is best to add 2 identical 512M. Otherwise there is no dual channel enabled, the effect is very general




The fifth kind of possibility
Zendoptimizer and PHP are not very well matched.
Try a different version.
At present, the more stable collocation is
Php4.3.11+zo 2.5.10a
or Php4.4.1+zo 3.0 Beta2




The sixth kind of possibility

This belongs to users with Win2003
They set limits in the application pool.
such as how long to recycle, maximum use of memory, etc.
These settings are bound to cause this classic PHP error
Many people say that is the PHP version of the problem, in fact, can be seen from four places this problem
1, whether Zend the required DLL files in the directory to give insufficient permissions, must have read and run permissions
2, whether the use of 2003, set up the application pool, such as the limits of what in the pool, adjust a bit and try again, whether it is good, hehe
3,php.ini There are two places that are not set, and some programs must be used

A
Upload_tmp_dir the comment character of the line, that is, the preceding semicolon ";", to make the line work in the php.ini document. Upload_tmp_dir is used to define the temporary path of the upload file, where you can also define an absolute path, for example: Upload_tmp_dir = D:upload Of course, at this time your D:upload directory must have read and write permissions.
Here I set the
Upload_tmp_dir = "C:\windows\temp\"

B
This error statement usually occurs because your php.ini is not set up for Session.save_path, and the workaround is to set the Session.save_path and Session.cookie_path settings to
Session.save_path = "C:\windows\temp\"
Session.cookie_path = "C:\windows\temp\"
(This setting does not know if it is correct.)

http://www.bkjia.com/PHPjc/320558.html www.bkjia.com true http://www.bkjia.com/PHPjc/320558.html techarticle The workaround is as follows: PHP for Windows Bug Reference: The first possibility: remove the eaccelerator extension in PHP to solve your problem, but may aggravate the system burden because ...

  • 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.