Contact Sales  |  1-888-227-5040   |   Contact Support     
Login   |   Our Blog   |   Newsletter

Subscribe By Email

Receive email alerts when new blog posts are available!

Subscribe by RSS

Subscribe to our blog

Follow Us

Follow us on Twitter

The Topics


Recent Comments

    Robert Lincolne: Very excited about this guys, might just have to return to the fold, so to speak! Keen to hear about the SupportTrio release when it comes out. Rob :)
    Charles Novick: Is the 5.o Beta Released with full unencrypted PHP? Thanks
    Allun Edwards: How often do you sent out mass emails - is once a month too much - Allun
    Evan: Social media is a must for affiliate marketers. Soon all affiliates will be using social media to promote.
    annuta: Survey is very nice thing to earn money also, there are many special offers with that things!
    Tanay: Web 2.0 has exposed a new world of Webmarketing for the Affiliates.
    len bullard: I am flabbergasted by business contacts who insist on using their avatar names in email. If you don’t sign it with a real name, I assume your business is just as unreal.
    Elliotte Rusty Harold: Very good advice, which makes me wonder how you missed other basic things like signing your full name to the post so it can be quoted with attribution or including a real,...

Explore the blog


Our Blog Archive

Our Products

1-2-All iSalient KnowledgeBuilder SupportTrio TrioLive SwiftTraction visualEdit

How to install Zend Optimizer

David / May 06

One of the ways that we increase the overall speed and security of our web-based software is by pre-compiling the PHP code. The tools that we use to do this are called Zend Optimizer and Ioncube. You actually only need one or the other in order to encode PHP scripts, and I’m not aware of any performance benefit that either one enjoys over the other. The only reason that we use both of these products is to provide maximum compatibility with all the different types of web hosts and servers that are out there. That’s why, when you visit the downloads page in our support center, you’re always asked which version of the software you’d like to download: Zend or Ioncube.

Most people who don’t produce or use a lot of web-based software have never heard of either of these products and get a little flustered when confronted with the question of which they should download. If you’re using a shared web hosting account or have an in-house server admin running your web server, then you have a simple one-step solution: pick up the phone, call the admin, and ask which one you can use :)

If you’re running your own server, it’s still very simple. The first thing to do is to find out if your server can already run Ioncube scripts, since if it can there are no additional steps for you. The way to find this out is to:

  • download our test script
  • unzip and upload it to your web directory
  • and then open it up in a web browser

You’ll see something like this:

As you can see, my own local test server is not able to run Ioncube-encoded scripts without additional setup, because I’m using the latest version of PHP, which has broken dynamic loading. That’s no big deal, because I went ahead and installed the free Zend Optimizer with just a couple of clicks, and now I’ll show you how to do the same.

Download Zend Optimizer

If you find this part challenging, you probably shouldn’t be trying to run your own web server!  :)

What you need to do is to download the Zend Optimizer package onto your web server. You can get it from http://www.zend.com/en/products/guard/downloads, where you’ll need to select the appropriate package for your server. So first select the radio button labeled “Zend Optimizer” (not the one labeled “Zend Guard,”) and then you’ll find that the dropdown box becomes populated with a list of server types that Zend Optimizer is available for. The chances are very good that the type of server you are using is supported by Zend Optimizer. Remember, folks, you’re installing this on your web server, not on your own local computer (unless your web site is served from your local machine), so you want to be doing all this from the server, and to select the option that corresponds to the operating system running on the web server.

Before you are allowed to download, you’ll have to register for an account on zend.com on the next page. Once you’ve downloaded the software, all that is left is to install it on the server. The instructions for doing this will vary depending on the type of server that you use. If it is a Windows IIS server, just double-click on the installer .exe file and follow the instructions that appear on the screen. On any other type of system, including Mac OS X and any Linux or Unix variant, you’ll find that the installation package is compressed, so you first need to extract it.

On Linux or Unix servers

  • Open up a terminal window or get yourself out to the command line. You can decompress the package by entering the following at the command line prompt:
    • gunzip -c <package name> | tar xf -
  • Then, from inside the installer package directory that is created when the package is unzipped, type:
    • ./install.
  • Now you’ll see a nice pretty graphical installation wizard that will walk you through setting up Zend Optimizer on your server.

On servers running Mac OS X

Installation on a server running OS X is a little more complicated that you might like it to be, but is still very doable. The most complicated part is basically just that you have to use the command line, which many OS X users are not very familiar with. However, you can find a very good tutorial for going through this process here.

Now put it to good use!

Once you’ve got Zend Optimizer installed on your server, you should be able to run Zend-encoded PHP scripts right away. So now just grab a copy of the Zend version of whichever ActiveCampaign software product you’ve purchased, and follow the installation instructions in the docs/install.txt file (you can also find the instructions in our knowledge base.)

If you run into any problems with the Zend Optimizer installation or if you get an error message saying that Zend Optimizer is not installed on your server, check the Zend website for troubleshooting tips.

1 Comment

Nickos at 2009-05-10 15:15:48 Subscribed to comments via email

It is very simple your help refering Zend Oprimizer installation and run.
I did all these many times, installed and unistalled 10 times, everything is ok in install but never run I dont know how to run etc.
In many forums thousands persons cannot run Zend… It is so complicate and many persons we are wondering why they wrote a such like code and why they dont fix all these difficulties.
Personally I gave up, and the only reason I am writtig to you is to congratulate you for your nice explanations…
Best regards
Nickos

 
Name
E-mail (Never Shown Publicly)
URL (Optional)
Your Comment (smaller size | larger size)



  Press Inquiries   |  Privacy Policy  |  Site map
© 2009 ActiveCampaign,Inc. All rights reserved.