
|
View Full Version : Any different between PHP4 and Zend Optimizer
rayray 10-16-2000, 03:17 AM Hello,
I am looking for reseller plan now. I have seen some hosting company said that their server have PHP4 support and some even mentioned with Zend Optimizer. As I know that Zend Optimizer is sort of compiler which complie the PHP script(am I right?). Anyway, I just want to know those company which said their server support PHP4 implied that they have Zend Optimizer also.
Thanks and Regards,
Raymond
Raymond,
Yes, Zend Optimiser is now built into PHP4, so if you see PHP4 you should be able to utilise Zend Optimiser easily.
As a result, PHP parsing on servers is somewhat faster and is great fun to use.
DanielP 10-16-2000, 04:57 AM Actually BC,
There is PHP4 with the Zend engine.
And then there is PHP4 with the Zend engine AND The Zend Optomizer, the Optomizer is not included as default with php4 just the Zend Engine.
If you run the PHP Info script without Optomizer the Zend lines will look like this
"This program makes use of the Zend scripting language engine:
Zend Engine v1.0.2, Copyright (c) 1998-2000 Zend Technologies"
If it has the Optomizer it will look like this.
"This program makes use of the Zend scripting language engine:
Zend Engine v1.0.2, Copyright (c) 1998-2000 Zend Technologies
with Zend Optimizer v0.99, Copyright (c) 1998-2000, by Zend Technologies"
Hope that helps a bit :).
Ahhhhh..... There goes my lesson for today. Thanks Daniel.
Though I do wonder why php.net doesn't make that clearer - after initally reading their press releases et. al. about PHP 4.0 I always thought they had Zend Optimiser, not just Zend... Oh well.
DanielP 10-16-2000, 06:40 AM Don't feel bad BC, I initially thought the same thing.
Adding the Zend Optimiser is quite easy, just download a file and edit the php.ini to point to it.
heh its 5am well 5:38am don't make fun of my mis-spellings or I'll :flamethrow: :eek: me a BC :D
:eek: Sure you want the entire CDS with flamethrow and :uzi: burning up yer behind? :D
(in all seriousness, I couldn't pick out any misspellings, not like this is a senior English class board or anything ;))
Chicken 10-16-2000, 09:45 AM Is this something you can add to PHP 3 ??? Guess I should head to the site and find out myself, eh? Awwwwww right.
DanielP 10-16-2000, 10:03 AM I don't believe so chicken......
But I could be wrong
*looks*
A quick scan of http://www.zend.com didn't turn up anything for php3......... :)
Sorry chicken.
Uh hu, ok BC , Remember I got a lot of Techs with
:uzi: and :flamethrow to :eek: :smash: the CDS heh
Félix C.Courtemanche 10-16-2000, 10:37 AM nope, PHP3 isn't built on the Zend engine, thus it can'T use any of the Zend tools :)
When PHP3 works on a server, PHP4 will work... it is already 100-200% faster, and the zend optimizer can increase that by another 50-100%
It's definately worth installing.
LOL @ Daniel!
Let's not turn this into a game of one-upsmanship.... I really need my 4 daily doses of coffee first :)
(speaking of which, we really should get an icon for coffee and whack it into vB....)
I have used large PHP web apps, e.g. SquirrelMail(IMHO the nicest web mail client.) with Zend Optimiser and you can tell that it's faster than with out it.
rayzine 10-27-2000, 11:36 PM I know my hosting company using PHP4 with Zend optimizer. However, how can I make use of it? Just write regular PHP code and upload it to my host. Thats it? OR I need to do other things to make my code work with Zend optimizer?
KDAWebServices 10-28-2000, 07:06 PM If your host uses the ZendOptimizer then all of your scripts will use the optimiser automatically.
rayzine 10-28-2000, 10:53 PM Got it! Thanks Karl :)
|