Page 1 of 1

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

PostPosted: 19. July 2011 18:30
by Caps
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?

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

PostPosted: 20. July 2011 01:35
by JonB
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)

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

PostPosted: 20. July 2011 04:41
by Sharley
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.

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

PostPosted: 20. July 2011 19:46
by Altrea
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.