Zend Guard Loader+php56+FastCGI has ZendLoader_errors

General discussion on Zend Guard / Optimizer
Post Reply
zhan9210
Posts: 1
Joined: Fri Apr 20, 2018 2:26 am

Zend Guard Loader+php56+FastCGI has ZendLoader_errors

Post by zhan9210 » Wed May 23, 2018 7:01 am

Hi.
I'm using configuration:

Windows server 2016 x64
PHP 5.6.15 x86
Apache/2.4.23 x64
FastCGI x64
Zend Guard Loader v3.3

php.ini

Code: Select all

[ZendGaurdLoader]
zend_extension="D:\php\ext\ZendLoader.dll"
zend_loader.enable=1
zend_loader.obfuscation_level_support=3
zend_loader.disable_licensing=0
zend_loader.license_path=

[opcache]
opcache.enable=0
opcache.enable_cli=0
opcache.memory_consumption=64
opcache.interned_strings_buffer=4
opcache.max_accelerated_files=2000
opcache.max_wasted_percentage=5
opcache.use_cwd=1
Everyting seems to work fine, but on Windows Event Viewer I got some error:

Code: Select all

The description for Event ID 487 from source Zend Loader cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
 
If the event originated on another computer, the display information had to be saved with the event.
 
The following information was included with the event:
Unable to view file mapping
Attempt to access invalid address.
and on C:/ I see ZendLoader_errors.txt was created, contents are below

Code: Select all

[3068] Unable to view file mapping:[487]A
[19620] Unable to view file mapping:[487]A
[18144] Unable to view file mapping:[487]A
[4272] Unable to view file mapping:[487]A
[17164] Unable to view file mapping:[487]A
[7864] Unable to view file mapping:[487]A
[11032] Unable to view file mapping:[487]A
[4912] Unable to view file mapping:[487]A
Does anybody have any idea what's the reason of this error?
Thanks in advance

User avatar
zvika
Zend Global Support
Posts: 996
Joined: Sun Dec 14, 2008 9:48 am
Contact:

Re: Zend Guard Loader+php56+FastCGI has ZendLoader_errors

Post by zvika » Mon Jun 04, 2018 2:12 pm

Hello
Windows Server 2016 was not released yet by the time of Guard Loader (version 7) release (may 2014), so it wasn't tested and we cannot support it.
However, the memory mapping might be because of multiple user access (violation) to the same shared memory address pool.
Can you eliminate any multiple PHP / CLI / CGI running instances (check task manager for php.exe and make sure there is a single fastCGI process and single system user running php.exe) ?
This will hopefully prevent any shared memory issue.
Zvika Dror
Zend Support Team

Post Reply