Enable Zend Optimizer

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Enable Zend Optimizer

Postby essteffan » 29. January 2011 09:44

Hy all
I use xampp from a long time and now i see that version 1.7.4 has Zend Optimizer, but i don't know exactly how to torn on.
I use some forums about this problem but doesn't work.
Does anyone know hot to do it ?

Thanks in advance
Stefan
essteffan
 
Posts: 4
Joined: 29. January 2011 09:41

Re: Enable Zend Optimizer

Postby Sharley » 29. January 2011 10:50

I don't see it included in 1.7.4 just combed the whole 1.7.4 version files and the php.ini file even though the readme_en.txt file says it is included - perhaps another "accidental" omission or there is no compatible version for the included PHP version, but I can only guess. :roll:

I see that XAMPP version 1.7.1 was the last version that included zend optimizer, so if you need it then install that version as a work around until perhaps a patched 1.7.4a or 1.7.4b versions are created and released.

Same as the eaccelerator was "accidentally" omitted.
viewtopic.php?f=16&t=44308
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Enable Zend Optimizer

Postby essteffan » 29. January 2011 11:11

But the files was instaled once with 1.7.4 in C:\xampp\php\zendOptimizer\

Are you sure about what you said. I know that 1.7.1 has it but i so in readme_en that it has it and i find it in C:\xampp\php\zendOptimizer\
essteffan
 
Posts: 4
Joined: 29. January 2011 09:41

Re: Enable Zend Optimizer

Postby Sharley » 29. January 2011 11:34

You are right about the zend optimizer files in the php folder but the connecting entries in the php.ini seem to be omitted.

If you look in that folder you will see that there is no ZendOptimizer.dll file for php 5.3x and the files are identical to those in the XAMPP 1.7.1 version so my guess is that the developer simply copied that folder over to this 1.7.4 version.

Last was 5.2x so in any case it is the same reason it has been omitted from XAMPP versions 1.7.2 and 1.7.3 which both contained php 5.3x

So until the developer comes up with a solution I am afraid I can't help you.

All I do know is that in 1.7.4 there is no working zend optimizer to enable.

You can check with the zend web site and see if they have a ZendOptimizer.dll file for php 5.3x yet.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Enable Zend Optimizer

Postby essteffan » 29. January 2011 12:14

Yes you are right, in folder was not \Optimizer\php-5.3.x, but i jest copy from Zend Optimizer installer from zend.
I want to know what exactly i have to add into php.ini to see if is working

Thanks in advance
essteffan
 
Posts: 4
Joined: 29. January 2011 09:41

Re: Enable Zend Optimizer

Postby Sharley » 29. January 2011 12:23

essteffan wrote:but i jest copy from Zend Optimizer installer from zend.
What Z O installer is that?

Where did you put it?

Is it php 5.3x compatible to work with the php compiled in XAMPP 1.7.4 version?

The last question is most important as you will not be able to use it if it not, it will only give errors that can't be fixed.

More reading for you as obviously you are intent on having a go, which is futile if your Z O is not php 5.3x compatible. The Z O version referred to in the version 1.7.4 readme_en.txt file is 3.3.0
The version referred to in the topic below is an even newer incompatible version.
viewtopic.php?f=16&t=40597&hilit=zend+optimizer

Sorry I can't be any more help.

Good luck.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Enable Zend Optimizer

Postby essteffan » 29. January 2011 17:55

Thanks for the replay

I will answer you to the questions:
What Z O installer is that? - ZendOptimizer-3.3.3-Windows-i386
Where did you put it? - C:\xampp\php\zendOptimizer\lib\Optimizer

Maybe one of the admins will answer these questions

Thanks again for the help
essteffan
 
Posts: 4
Joined: 29. January 2011 09:41

Re: Enable Zend Optimizer

Postby neo17 » 12. September 2011 11:27

is it possible now to have zend optimizer 3.3 installed on xampp 1.7.4? i see that zend also have zend guard loader needed for this install!
neo17
 
Posts: 2
Joined: 12. September 2011 09:33
Location: Tirana, Albania

Re: Enable Zend Optimizer

Postby darius » 12. September 2011 12:02

Hi,

I have installed LiveSite (still problem) and Zend is a must to have compressed php to work.

Downloaded Zend for windows coming with installer and installed.

Just opened XAMM/php
and zend is coming as dll
Does it worked for you ,
if so, just tell me how to configure , install zend to work with xampp and LiveSite

I have LiveSite installed as
xampp/htdocs/livesite

but databases are lost so I have to reinstall, since my mysql crashed and I am not sure if there is any backup for mysql databases,
since adminmyphp opens default databases only.

Any path to installed databases ?

I need to install zend today to test LiveSite.
darius
 
Posts: 13
Joined: 31. August 2011 22:57

Re: Enable Zend Optimizer

Postby Altrea » 12. September 2011 12:38

Zend Optimizer can't be installed with XAMPP 1.7.2+. It isn't compatible with the php instance coming with XAMPP.
Zend Optimizer needs Zend Loader for php 5.3 and this Loader can only work with non-thread-safe versions of php. XAMPP comes in thread-safe version of php.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Enable Zend Optimizer

Postby neo17 » 12. September 2011 12:45

can you give me more info about thread safe mode? thnx in advance!
neo17
 
Posts: 2
Joined: 12. September 2011 09:33
Location: Tirana, Albania

Re: Enable Zend Optimizer

Postby darius » 12. September 2011 13:14

So no way to run LiveSite under XAMPP ?


C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0
==========

Disabling PHP Safe Mode for a specific directory

http://www.daniweb.com/web-development/ ... eads/18424

Difference between PHP thread safe and non thread safe binaries

http://www.google.com/#sclient=psy&hl=e ... 80&bih=894
darius
 
Posts: 13
Joined: 31. August 2011 22:57

Re: Enable Zend Optimizer

Postby Altrea » 12. September 2011 20:14

darius wrote:So no way to run LiveSite under XAMPP ?

No.
Simply install Zend Server (CE).
Zend Optimizer+ is build in and enabled by default.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 60 guests