Load fails

General discussion on Zend Guard / Optimizer

Load fails

Postby jbattin on Mon May 21, 2012 8:11 pm

I am running Win 7 with Apache 2.2. My phpinfo says I'm running PHP 5.3. I downloaded ZendGuardLoader-php-5.3-Windows.zip and extracted.

I added these statements to my php.ini:
zend_extension=D:\Websites\Zend53\ZendLoader.dll
zend_loader.enable=1
zend_loader.disable_licensing=0

I get an error stating: Failed loading D:\Websites\Zend53\ZendLoader.dll

It doesn't matter where I put this file or if I use / instead of \, the file will not load.
If I use version 3.3.3 I get this error:
Zend Optimizer requires Zend Engine API version 220060519.
The Zend Engine API version 220090626 which is installed, is newer.

I can't figure out how I could change the API version anyway.

Can someone help me shed some light on this?

Thanks for the help.

Jan
jbattin
 
Posts: 2
Joined: Mon May 21, 2012 7:52 pm

Re: Load fails

Postby kentatzend on Tue May 29, 2012 4:28 pm

the most likely problem is you are running TS PHP and Guard Loader requires a NTS PHP build.
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Load fails

Postby jbattin on Tue Jun 05, 2012 2:25 pm

I'm sorry for my stupidity - but what is TS Php and NTS Php? I have the standard PHP 5.3 installed.

Thanks.
jbattin
 
Posts: 2
Joined: Mon May 21, 2012 7:52 pm

Re: Load fails

Postby kentatzend on Tue Jun 05, 2012 4:26 pm

There are "Thread Safe" (TS) and "Non-Thread Safe" (NTS) builds available at PHP.net (http://windows.php.net/download/). You need a NTS build for Guard to work. BTW NTS builds are recommended by both MS and Zend as better and more reliable.
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm


Return to Zend Guard / Optimizer

Who is online

Users browsing this forum: No registered users and 8 guests