Summary of solutions to Unable to view file mapping problems

  • 2020-05-10 23:15:26
  • OfStack

zend error log: Unable to view file mapping, attempt to access invalid address. I searched the Internet for solutions

The solution is as follows:

Compare the php.ini files for the two versions of php.

;extension=php_yaz.dll
; extension= php_zip. dll checks if these two exist in the new version. Also confirm extension= php_zip.dll
In front of; Get rid of the save restart iis and mysql and you're done

eAccelerator v0. 9.4-rc1, the php accelerator, just block this out and you can do the rest:

1. Check whether the c: windows\temp\ directory has access to the iis user group and NETWORK_SERVICE
2. Whether the zend installation directory has the iis user group and NETWORK_SERVICE access and write permissions.
3. Delete the junk file under c:\WINDOWS\temp\.
4. upload_tmp_dir="c:\windows\temp\" (note = Spaces on both sides)
5. There is one more file, ZendOptimizer.MemoryBase @SYSTEM, which cannot be found. The method is the same as above

==================================================================================
An Zend Optimizer error occurred in the view event viewer, and this error occurred every time the server was started:
Event type: error
Source: Zend Optimizer
Event type: none
Event ID: 487
Date: 2008-2-28
Events: 9:22:15
User: N/A
Computer: XXX
Description:
A description of the event ID (487) could not be found (in the resource Zend Optimizer). The local computer may not have the necessary registration information or message DLL files to display messages from the remote computer. You may be able to use it
/AUXSOURCE= identifier to retrieve the word description; See help and support for details. The following information is part 1 of the event: Unable to view file mapping, attempt to access invalid address.
Looked up 1 under the information on the Internet, in fact, only 1 version, the specific content can see the following reference materials. Here is a summary based on my own solutions:
First of all, if your PHP USES eAccelerator, just comment it out. This is because Zend Optimizer conflicts with eAccelerator. Both are used to speed up the PHP program, just use one of them
.
If your PHP does not use eAccelerator, it is mostly a question of permission. This situation is rare in Apache+PHP, but usually occurs in the combination of IIS+PHP. At this point you only need to modify %
SystemRoot%\Temp permission, set to EveryOne all allowed; Then manually create a new text file and name it if there are no files in the directory
Can.
If you still have problems, you can check whether there are two files php_yaz.dll and php_zip.dll in the php directory ext, and which one is in php.ini. Get rid of the semicolon in front.

================================================================================

Two days ago, when debugging the PHP program locally, I found that ZendOptimizer was not running normally in the installed VertrigoServ, and ZendOptimizer_errors file was generated in the root directory of C. The main problems are as follows:

Unable to open base address file: The system could not find the specified path. 
Unable to view file mapping: overlap  I/O  The operation is in progress. 

The following share my core problem: the occurrence of such a problem, 1 is usually caused by the cache directory specification error!
Step method: right click on my computer - properties - advanced - environment variable - specify the path of TEMP and TMP in the user configuration as the path value of TEMP and TMP in the system variable: %SystemRoot%\TEMP or other path to determine the path, D:\Temp to determine the path, restart the computer.

Run php server program again, C root directory ZendOptimizer_errors.txt report will no longer appear, the above two errors will not appear in the report, the set path directory will automatically generate these two files. Problem solved!

Supplementary solutions dated 23 May 2009:

1, modify the access rights of C:\WINDOWS\Temp\ directory so that Zend can modify the directory. Add the write rights of IIS_WPG and Network Service as usual.
2. The specified file may not be found in the C:\WINDOWS\temp\ directory. Find out if there is a file name and SERVICE under this folder.
3, upload_tmp_dir = "c:\windows\temp\" (note = space on both sides)
4. It is also possible that there is no permission to read ZEND directory, so add the read permission of IIS_WPG and Network Service to C:\Program Files\ 198en-2.6.2 \lib\ directory to IIS_WPG and Network Service (note that the zend version and the installation directory are different and the previous path is different)
Note: as mentioned earlier, "C:\WINDOWS\Temp\" is not an absolute. The key is the path "upload_tmp_dir" in the php.ini file. Added on 25 March 2009:
In the Windows Server 2003 system's NTFS file system, there is also the issue of access rights. For example, the default installation directory of ZendOptimizer is C:\Program Files\Zend. We need to add one IIS startup account IIS_WPG to the Zend directory. This resolves the Unable to view file mapping error due to permissions.


Related articles: