10.02.2013 Views

PHP Programming Language - OpenLibra

PHP Programming Language - OpenLibra

PHP Programming Language - OpenLibra

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PEAR 167<br />

External links<br />

• The PEAR Project [1]<br />

• The PEAR Manual [2]<br />

• The PECL Project [3]<br />

• A PEAR Forum (unofficial) [4]<br />

References<br />

[1] http:/ / pear. php. net<br />

[2] http:/ / pear. php. net/ manual/ en/<br />

[3] http:/ / pecl. php. net<br />

[4] http:/ / www. pear-forum. org/<br />

<strong>PHP</strong> accelerator<br />

A <strong>PHP</strong> accelerator is an extension designed to boost the performance of software applications written using the<br />

<strong>PHP</strong> programming language. Most <strong>PHP</strong> accelerators work by caching the compiled bytecode of <strong>PHP</strong> scripts to avoid<br />

the overhead of parsing and compiling source code on each request (some or all of which may never even be<br />

executed). For best performance, caching is to shared memory with direct execution from the shared memory and the<br />

minimum of memory copying at runtime. A <strong>PHP</strong> accelerator typically reduces server load and increases the speed of<br />

<strong>PHP</strong> code anywhere from 2–10 times, depending on factors such as the inherent execution time of the <strong>PHP</strong><br />

application and the percentage of source code actually executed on a given request. While a code optimizer may<br />

even slow down overall performance when used in isolation, it can provide an additional performance boost when<br />

coupled with a code cache as the optimization effort is performed just once.<br />

See also<br />

• List of <strong>PHP</strong> accelerators<br />

External links<br />

• Benchmarking Drupal with <strong>PHP</strong> op-code caches: APC, eAccelerator and XCache (and Standard <strong>PHP</strong>) compared<br />

[1] from April 2008.<br />

• <strong>PHP</strong> on Fire: Five Opcode Caches compared [2] including a complete chart [3] featuring Zend Platform, APC,<br />

XCache, eAccelerator ionCube Encoder and Standard <strong>PHP</strong> benchmarks. Made in October 2006.<br />

• Alternative <strong>PHP</strong> Cache [4] available as a <strong>PHP</strong> extension.<br />

References<br />

[1] http:/ / 2bits. com/ articles/ benchmarking-drupal-with-php-op-code-caches-apc-eaccelerator-and-xcache-compared. html<br />

[2] http:/ / itst. net/ 654-php-on-fire-three-opcode-caches-compared<br />

[3] http:/ / itst. net/ wp-content/ uploads/ 2006/ 10/ <strong>PHP</strong>%20Bytecode%20Cacher%20Review. html<br />

[4] http:/ / php. net/ manual/ en/ book. apc. php

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!