Apache error loading ZendLoader.dll

General discussion on Zend Guard / Optimizer

Apache error loading ZendLoader.dll

Postby mboley370 on Mon Feb 21, 2011 12:42 am

At this point Zend Optimizer won't work at all for me and I have everything installed. What am I doing wrong? What else can I add to the php.ini?

Apache Version :
2.2.17
PHP Version :
5.3.5
Wamp WampServer2.1e-x32 On Windows Vista

ZendGuardLoader-php-5.3-Windows

I created a folder and placed my ZendLoader.dll for 5.3.5 and up in the zend folder at the file extension below stated.

I edited php.ini and added these lines

zend_extension="c:/wamp/bin/php/php5.3.5/zend_ext/ZendLoader.dll"
zend_loader.enable=1

I am getting this error in my apache error log
[Sun Feb 20 18:27:08 2011] [notice] Parent: Created child process 5856
Failed loading c:/wamp/bin/php/php5.3.5/zend_ext/ZendLoader.dll
[Sun Feb 20 18:27:09 2011] [notice] Child 5856: Child process is running
mboley370
 
Posts: 2
Joined: Mon Feb 21, 2011 12:34 am

Re: Apache error loading ZendLoader.dll

Postby mboley370 on Mon Feb 21, 2011 8:31 pm

Update:

I tried this as well and it still won't work for me.

[Zend]
zend_extension_manager.optimizer_ts="C:\wamp\apps\zend\Optimizer-3.3.0"
zend_extension_ts="C:\wamp\apps\zend\ZendExtensionManager.dll"

I added all the correct files as well to try to make this work, but it will not work either.


Does anyone know why this will not work with a wamp setup? Can anyone even confirm zend working with the newest wamp server with 5.3.5 php? I am doing everything right and this will not work. I have seen several threads of others talking about this problem as well.
mboley370
 
Posts: 2
Joined: Mon Feb 21, 2011 12:34 am

Re: Apache error loading ZendLoader.dll

Postby kentatzend on Thu Mar 03, 2011 5:00 pm

Optimizer will not work with PHP 5.3 it is PHP 5.2 only. Is your PHP a TS php or NTS php. Loader only works with NTS PHP.

Kent
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Apache error loading ZendLoader.dll

Postby alanbeer on Thu May 31, 2012 9:32 pm

It's now May2012 and the Zend website download page states "Zend Guard Loader (Runtime for PHP 5.3)" - so I assume it's now up to PHP5.3 (?) but I can't seem to find a way to configure my wamp server (Apache Version : 2.2.21 PHP Version : 5.3.8) to work with ZendGuardLoader.
The apache_error.log file states "Failed loading c:/wamp/bin/php/php5.3.8/ZendLoader.dll" on start up, and a simple helloworld.php test states

Code: Select all
"For The Site Administrator/Web Master
One or more files on your site were encoded with Zend Guard. Thismay be third party libraries that were provided to you by an ISV. Toallow these files to properly run you need to download and installone of the Zend guard run-time libraries. This is either ZendOptimizer or Zend Loader. The proper files can be downloaded fromhttp://www.zend.com/guard/downloads.This software is provided free of charge."

I've configured my php.ini to read:

Code: Select all
zend_extension = "c:/wamp/bin/php/php5.3.8/ZendLoader.dll"
zend_loader.enable=1
; Disable license checks (for performance reasons)
zend_loader.disable_licensing=0
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed in the official Zend Guard Documentation. 0 - no obfuscation is enabled
zend_loader.obfuscation_level_support=3
; Path to where licensed Zend products should look for the product license. For more information on how to create a license file, see the Zend Guard User Guide
zend_loader.license_path=


does ZendGuardLoader work in Windows 7(64b)/Apache2.2/PHP5.3 and if so then is there something I've missed (I couldn't find any specific documentation on this topic)
alanbeer
 
Posts: 3
Joined: Thu May 31, 2012 9:24 pm

Re: Apache error loading ZendLoader.dll

Postby kentatzend on Thu May 31, 2012 9:39 pm

Yes it does as long as you are using a NTS build of PHP.
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Apache error loading ZendLoader.dll

Postby fitli65 on Fri Jun 22, 2012 11:41 am

Hi everyone

I have the same problem! the zendloader is not geting loaded...

Server:
Win2008RC2, Apache 2.2.19, PHP 5.3.5 NTS

php.ini:
zend_extension="C:\Programme\PHP\ioncube\ioncube_loader_win_5.3.dll"
zend_extension="C:\Programme\PHP\zend\ZendLoader.dll"
zend_loader.enable=1

php info:
http://www1.magicline.ch/test.php

Does anybody see the the mistake here?

Best reagards
David
fitli65
 
Posts: 1
Joined: Fri Jun 22, 2012 11:34 am

Re: Apache error loading ZendLoader.dll

Postby maur1208 on Mon Apr 22, 2013 7:16 pm

I've reading some things in some forums and find this code, to know if our server is ts or nts, cause zendloader.dll only works in nts, its o.k kentatzend?

<?php
ob_start();
PHPINFO(1);
$vPHP=ob_get_contents();
ob_end_clean();
preg_match('/PHP Extension Build.*,(.*),/',$vPHP,$TS);
$vPHP=$TS[1];
echo $TS[1];
?>
maur1208
 
Posts: 1
Joined: Mon Apr 22, 2013 7:07 pm


Return to Zend Guard / Optimizer

Who is online

Users browsing this forum: No registered users and 7 guests