Results 1 to 7 of 7
Thread: php accelerators
-
08-29-2007, 09:10 AM #1Web Hosting Master
- Join Date
- Jan 2007
- Posts
- 688
php accelerators
Can someone please explain which of these are the best *with* phpsuexec enabled on a cpanel server?
APC
eaccelerator
ioncube
xcache
zned optimizer
What would be the best, optimal configuration for either one on a dual xeon, 4GB memory box with centos / cpanel / apache 1.3x?
-
08-29-2007, 09:28 AM #2WebHosting Master
- Join Date
- Dec 2006
- Posts
- 4,151
If you're going to sell to clients, Zend Optimizer.
There are too many Zend scripts out there without ionCube.
-
08-29-2007, 11:02 AM #3Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
Just a side note, eAccelerator apparently does not work with PHP suEXEC / suPHP.
RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca
www.HostingSecList.com - Security Notices for the Hosting Community.
-
08-29-2007, 02:25 PM #4Web Hosting Evangelist
- Join Date
- Aug 2002
- Posts
- 484
Use APC. It's the best, and it is developed by the core PHP developers.
-
08-29-2007, 03:31 PM #5Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
None of the php accelerators will really accelerate PHP running in the phpsuexec mode, php just run as CGI, a new php process will be started for each request.
LiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
08-29-2007, 07:28 PM #6Web Hosting Master
- Join Date
- Dec 2003
- Posts
- 941
What are "php accelerators"?
Primary email: advanced dot programmer at gmail dot com ..
-
08-29-2007, 08:05 PM #7Aspiring Evangelist
- Join Date
- Mar 2002
- Location
- London & Kent, UK
- Posts
- 394
What are "php accelerators"
The history of accelerators goes back to around 2000 when we had a very expensive Zend Cache as a performance leader, and the early versions of APC, bware and maybe one or two others that were all about 30% slower than Zend Cache. In 2001, the founder of ionCube created the PHP Accelerator, commonly called PHPA, and this took the PHP world by storm as the first component to match or even exceed the performance of the Zend product, and being free, this was an instant hit with a swift takeup from small sites to the likes of disney forums and Yahoo! using it. There is a short development history of its first 3 weeks on the PHPA site. Where PHPA differed from the other Zend rivals was that it not only stored compiled code in shared memory, but it executed it directly from there too. This is the trick to getting the extra speed that the others were missing as it eliminated the deserialisation step that was present in other caches such as APC. There is also a short interesting and easy to read technical document giving an insight into the workings of the caches and some simple code optimisations that can be employed.
Discussions with the APC creators about how to get the extra performance led to their renewed enthusiasm and the further development with APC. As PHP itself became more popular and attacted more interest from potential engine developers, other caches and related products naturally sprung up over time.
With regards to CGI, there is nothing to stop caches from accelerating CGI scripts and the benefits of cached code are just as significant and effective. PHPA supported CGI although support was dropped at one point, and the as yet unreleased IPS system from ionCube has also been designed to support CGI and does so effectively. However many cache implementations do skip support as there are technical hurdles to deal with, and with most servers not using CGI, the complications of support may not be justified.
For protecting code or a website you would use a tool called a PHP Encoder. Some caches also implement compiled code encoding features as they are strongly related, but using a dedicated encoding tool is the only feasible solution if distributing code to third parties.
If you're interested to know more about how accelerators work or on the subject of PHP code protection then feel free to get in touch and we'll be happy to help.Real-time intrusion protection and error reporting for PHP sites ioncube24.com
Software protection for website owners and PHP developers ionCube PHP Encoder