What are pros any cons to use eaccelerator and zend optimizer on
php5-mod with apache2.2 ??
Does accelerators work immediately after install on all php files?
When both are in use which accelerate speed execution of php files? How
can i find that?? 7 3108 ar*********@poc zta.onet.pl wrote:
Does accelerators work immediately after install on all php files?
Yep. Well, you need to restart Apache, but your installer may do that for
you.
When both are in use which accelerate speed execution of php files? How
can i find that??
Not sure, I only use eAccelerator.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
Toby A Inkster wrote:
ar*********@poc zta.onet.pl wrote:
>Does accelerators work immediately after install on all php files?
Yep. Well, you need to restart Apache, but your installer may do that for
you.
>When both are in use which accelerate speed execution of php files? How can i find that??
Not sure, I only use eAccelerator.
Toby,
since you have quite a lot of experience under your belt, could you tell
us why you chose eAccelerator over Zend (Which afaik is the de facto
default when installing Apache) ? I never even looked beyond Zend to be
honest.
TIA
Sh.
Schraalhans Keukenmeester wrote:
since you have quite a lot of experience under your belt, could you tell
us why you chose eAccelerator over Zend (Which afaik is the de facto
default when installing Apache) ? I never even looked beyond Zend to be
honest.
The Zend Optimiser certainly isn't any kind of default that I'm aware of.
Perhaps you're confusing it with the similarly named Zend Engine, which is
actually part of PHP? Neither eAccelerator nor ZO are included with Apache.
No PHP accelerator is included with Apache -- indeed, PHP isn't included
with Apache at all.
When choosing between them, I chose eAccelerator as it's open source,
whereas ZO isn't. Whatsmore, they use totally different techniques to
speed up PHP. ZO is an optimised compiler; eAccelerator is a bytecode
cache. In the majority of situations, eAccelerator will give you a much
bigger speed-up.
Zend also make a bytecode caching product, which is now integrated into
their "Zend Studio" product.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
On Sat, 14 Apr 2007 17:28:41 +0200, "ar*********@po czta.onet.pl"
<ar*********@po czta.onet.plwro te:
>What are pros any cons to use eaccelerator and zend optimizer on php5-mod with apache2.2 ??
They don't do quite the same thing; eAccelerator is mainly a bytecode cache
[1], whereas Zend Optmizer doesn't cache [2], but it can speed up the code.
Your performance gains depend on where your bottlenecks are - Zend Opt will
give you most gain on large, processing-intensive scripts, but bytecode caching
from eAccelerator may help more if you have relatively large scripts or load
some larger libraries - as with most things, it depends.
>Does accelerators work immediately after install on all php files?
Both named above do, anyway.
>When both are in use which accelerate speed execution of php files? How can i find that??
I doubt you can use them both together?
[1] Although eAccelerator has an optimiser - but from what I remember it was
similar to APC's optimiser - not really the main focus of the extension, and
unlikely to be as effective as Zend's.
[2] It looks like you have to go to the full Zend Platform product to get
bytecode caching as well.
--
Andy Hassall :: an**@andyh.co.u k :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
On Sun, 15 Apr 2007 09:08:42 +0100, Toby A Inkster
<us**********@t obyinkster.co.u kwrote:
>ar*********@po czta.onet.pl wrote:
>When both are in use which accelerate speed execution of php files? How can i find that??
Not sure, I only use eAccelerator.
Have you had any stability issues? I've tried a few products, and the ones
with the greatest performance gain for my applications were APC and
eAccelerator.
However, under load testing both eventually triggered segfaults, so I couldn't
go live with them. It's presumably an interaction with one of the libraries I'm
using (for example, apc has long had trouble with HTML_QuickForm) , but I
couldn't track it down - it appeared to show up as memory corruption leading to
segfaults in subsequent requests, making it a pain to trace back.
What configuration are you using - this was as an Apache 2.2 module on 64-bit
Linux.
--
Andy Hassall :: an**@andyh.co.u k :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Andy Hassall wrote:
Have you had any stability issues?
Not yet.
What configuration are you using - this was as an Apache 2.2 module on
64-bit Linux.
$ uname -a
Linux ophelia.g5n.co. uk 2.6.12-12mdksmp #1 SMP Fri Sep 9 17:43:23 CEST 2005 i686 Pentium III (Coppermine) unknown GNU/Linux
$ /usr/sbin/httpd -version
Server version: Apache/2.0.54
Server built: Jan 5 2006 11:10:01
$ php -v
PHP 5.0.4 (cli) (built: May 11 2006 14:16:00)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.3, Copyright (c) 2004-2004 eAccelerator, by eAccelerator
I have other servers, but I've not needed to install eAccelerator on them
just yet.
And yes, it is due a major upgrade.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
Andy Hassall wrote:
I doubt you can use them both together?
Apparently you can, though I've never tried. You need to install them in
alphabetical order.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tony Marston |
last post by:
Several months ago I started a thread with the title "What is/is not
considered to be good OO programming" which started a long and
interesting discussion.
I have condensed the arguments into a single article which can be
viewed at
http://www.tonymarston.net/php-mysql/good-bad-oop.html
I fully expect this to be the start of another flame war, so sharpen
your knives and get stuck in!
|
by: Nick Mudge |
last post by:
Hi,
Does anybody know the performance difference between having your PHP code
cached and just running your code with the zend optimizer? Is there much
difference?
Nick
|
by: Toni |
last post by:
I've tried to reinstall the zend environment and debugger on my new
computer. I almost succeeded but when I try to debug or profile a webpage
by clicking on the buttons on the toolbars I get the following message in
my browser:
Failed to connect to host '192.168.2.102'. Failed to connect to host
'192.168.126.1'. Failed to connect to host '192.168.47.1'.
(I've got a network card, Wifi and Bluetooth in the machine)
|
by: nntp |
last post by:
What is ZEND. Why it has anything to do with programming PHP?
|
by: Andy |
last post by:
Hi All!
We are doing new development for SQL Server 2000 and also moving from
SQL 7.0 to SQL Server 2000.
What are cons and pros for using IDENTITY property as PK in SQL SERVER
2000?
Please, share your experience in using IDENTITY as PK .
| |
by: Fred |
last post by:
Not much expertise on XSLT and trying to understand it's uses when creating
apps in VS.NET?
If I wanted flexibility on the UI (View aspect of M.V.C.):
- How does it compare with creating business components that can be consumed
by WebForms, WinForms, mobile devices, etc? Is it even fair to compare the
such technologies?
- How about for cases when you need to display dynamic elements on the
form/grid (as compared to knowing data elements...
|
by: typingcat |
last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so
on. I've tried many PHP IDEs today, but almost non of them supported
Unicode (UTF-8) file.
I've found that the only Unicode support IDEs are DreamWeaver 8 and
Zend PHP Studio.
DreamWeaver provides full support for Unicode. However, DreamWeaver is
a web editor rather than a PHP IDE. It only supports basic IntelliSense
(or code completion) and doesn't have anything...
|
by: Xristos Nikolopoulos |
last post by:
Hello,
I have made an application that needs to upload files,
the application is deployed in several folders, and
each folder has its php files.
The problem is, I have in the folder I want to upload
the php files that do the job and a php.ini file to change
limits.
|
by: =?GB2312?B?17/HvyBaaHVvLCBRaWFuZw==?= |
last post by:
Hi,
I would like to have someone comments on what's the best practice
defining error codes in C.
Here's what I think:
solution A:
using enum
pros: type safe. better for debug (some debugger will show the name
not only the value)
cons: enum can not be forward declared which makes all error codes
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |