Will Zend Optimizer work with XAMPP for Windows? If so how?

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

Will Zend Optimizer work with XAMPP for Windows? If so how?

Postby Caps » 19. July 2011 18:30

Need to optimize PHP as a CMS script is has slow page loads. I am instructed to use Zend Optimizer for Windows. Do I just install the exe file?
Caps
 
Posts: 18
Joined: 19. November 2010 19:21

Re: Will Zend Optimizer work with XAMPP for Windows? If so h

Postby JonB » 20. July 2011 01:35

I think that would depend on if the 'CMS script' was encoded with Zen Guard.

I'd recommend reading this -

http://www.zend.com/en/products/guard/in-depth

I don't think it does what you expect.

If the script WAS encoded with Zend Guard, I guess you should give it a whirl.

I'm not an expert on Zend (although I am learning the Zend framework currently). Maybe someone else (like someone whose nick begins with A) will have better advice.

As I understand it, the Zend Accelerator (I think its defunct now) is included in XAMPP's PHP compile as the Open Source eaccelerator.

http://eaccelerator.net/wiki

http://turck-mmcache.sourceforge.net/index_old.html

These work on the same principle (byte-code caching) as the Zend accelerator did.

I also don't think trying to optimize on a test platform is a good indicator of real world performance. XAMMP really isn't an optimized production environment (for a lot of different reasons).

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Will Zend Optimizer work with XAMPP for Windows? If so h

Postby Sharley » 20. July 2011 04:41

Caps wrote:Need to optimize PHP as a CMS script is has slow page loads. I am instructed to use Zend Optimizer for Windows. Do I just install the exe file?
I believe and stand to be corrected, but does not CMSs and other similar scripts rely heavily on massive multiple MySQL database accesses, which must use plenty of system resources?

Now one way of helping MySQL use your system resources efficiently is to use the correct my.ini file whose settings reflect your system's resources, RAM etc.

You will find in XAMPP version 1.7.4> located In the \xampp\mysql folder pre constructed 5 pre constructed my*.ini files.

Each one of these has settings that use more or less system resources to effectively influence performance of high use database access.

The comments in each file will give an indication of how each of these my*.ini file has been constructed.

The my.ini file in the \xampp\mysql\bin folder in the default XAMPP installation uses 'small' settings for low end systems and so has a limiting or throttling effect if you have a high end PC with lots of RAM etc.

So all you need do is rename the my.ini to my_original.ini for example, then go through those other 5 in the mysql folder by copying one at a time and renaming it to my.ini file and see which one best suits or shows the best performance improvement - remember to restart MySQL and Apache after each change of my.ini file.

I hope this helps with even some small improvement for what must be a frustrating issue and may be a little quicker and a 'first try this' approach rather than trying to find a zend alternative which may only have a limited effect.

Best wishes.
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: Will Zend Optimizer work with XAMPP for Windows? If so h

Postby Altrea » 20. July 2011 19:46

Well, it's not easy to get Zend components working with the current XAMPP Versions. Zend is developing their components for non thread-safe environments, while XAMPP uses thread-safe implementations.

In my opinion, if you really want to use Zend Optimizer+ or any other Zend Component exept Zend Framework or Zend Debugger, then give Zend Server CE a try. Zend Server CE already comes with a build in Zend Optimizer+ and some other stuff which is really helpful.
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: 8294
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 62 guests