Knowledge

PHP accelerator

Source πŸ“

24: 705: 671: 681: 298: 109:
The effect on application performance of opcode caching varies widely, depending on factors such as the inherent execution time of the PHP application and the percentage of source code actually executed on a given request, and whether additional optimization steps are performed. While a code
93:
of PHP representation of php files to avoid the overhead of parsing and compiling source code on each request (some or even most of which may never be executed). To further improve performance, the cached code is stored in
114:
may even slow down overall performance when used in isolation, it can provide an additional performance boost when coupled with a bytecode cache, as the optimization effort is performed just once.
106:
PHP accelerators substantially increase the speed of PHP applications. Improvements of web page generation throughput by factors of two to seven have been observed.
143: 595: 169: 95: 775: 746: 613: 147: 190: 222: 111: 254: 739: 98:
and directly executed from there, minimizing the amount of slow disk reads and memory copying at runtime.
765: 577: 316: 123: 732: 332: 770: 712: 684: 441: 378: 373: 70: 8: 720: 484: 327: 322: 37:
Please help update this article to reflect recent events or newly available information.
471: 421: 62: 504: 499: 247: 82: 170:"Benchmarking Drupal with PHP op-code caches: APC, eAccelerator and XCache compared" 562: 554: 519: 446: 226: 704: 716: 643: 585: 466: 358: 282: 759: 393: 674: 287: 277: 240: 194: 633: 608: 509: 406: 383: 219: 489: 436: 416: 534: 426: 363: 628: 618: 494: 368: 90: 66: 651: 623: 567: 524: 461: 456: 431: 401: 35:. The reason given is: Zend OPcache was integrated into PHP 5.5. 603: 451: 411: 86: 656: 539: 529: 514: 476: 353: 337: 297: 544: 263: 59: 232: 757: 740: 248: 144:"PHP on Windows: The WinCache 1.0 Benchmark" 747: 733: 255: 241: 65:designed to improve the performance of 758: 236: 101: 699: 680: 17: 13: 14: 787: 213: 776:Programming language topic stubs 703: 679: 670: 669: 296: 69:applications written in the PHP 22: 183: 162: 136: 81:Most PHP accelerators work by 1: 229:, a widely used opcode cache. 129: 719:. You can help Knowledge by 76: 7: 117: 10: 792: 698: 665: 642: 594: 576: 553: 392: 346: 305: 294: 270: 31:This article needs to be 124:List of PHP accelerators 262: 715:-related article is a 225:20 March 2012 at the 220:Alternative PHP Cache 713:programming-language 191:"Performance of Yii" 71:programming language 766:Free proxy servers 102:Practical benefits 728: 727: 693: 692: 197:on 19 August 2010 52: 51: 783: 749: 742: 735: 707: 700: 683: 682: 673: 672: 300: 257: 250: 243: 234: 233: 207: 206: 204: 202: 193:. Archived from 187: 181: 180: 178: 176: 166: 160: 159: 157: 155: 146:. Archived from 140: 47: 44: 38: 26: 25: 18: 791: 790: 786: 785: 784: 782: 781: 780: 756: 755: 754: 753: 696: 694: 689: 661: 638: 590: 572: 549: 388: 347:Implementations 342: 301: 292: 266: 261: 227:Wayback Machine 216: 211: 210: 200: 198: 189: 188: 184: 174: 172: 168: 167: 163: 153: 151: 150:on 22 July 2012 142: 141: 137: 132: 120: 104: 79: 56:PHP accelerator 48: 42: 39: 36: 27: 23: 12: 11: 5: 789: 779: 778: 773: 768: 752: 751: 744: 737: 729: 726: 725: 708: 691: 690: 688: 687: 677: 666: 663: 662: 660: 659: 654: 648: 646: 644:Widget toolkit 640: 639: 637: 636: 631: 626: 621: 616: 611: 606: 600: 598: 592: 591: 589: 588: 582: 580: 574: 573: 571: 570: 565: 559: 557: 551: 550: 548: 547: 542: 537: 532: 527: 522: 517: 512: 507: 502: 497: 492: 487: 482: 479: 474: 469: 464: 459: 454: 449: 444: 439: 434: 429: 424: 419: 414: 409: 404: 398: 396: 394:Web frameworks 390: 389: 387: 386: 381: 376: 371: 366: 361: 356: 350: 348: 344: 343: 341: 340: 335: 330: 325: 320: 309: 307: 303: 302: 295: 293: 291: 290: 285: 283:Rasmus Lerdorf 280: 274: 272: 268: 267: 260: 259: 252: 245: 237: 231: 230: 215: 214:External links 212: 209: 208: 182: 161: 134: 133: 131: 128: 127: 126: 119: 116: 103: 100: 78: 75: 50: 49: 30: 28: 21: 9: 6: 4: 3: 2: 788: 777: 774: 772: 769: 767: 764: 763: 761: 750: 745: 743: 738: 736: 731: 730: 724: 722: 718: 714: 709: 706: 702: 701: 697: 686: 678: 676: 668: 667: 664: 658: 655: 653: 650: 649: 647: 645: 641: 635: 632: 630: 627: 625: 622: 620: 617: 615: 612: 610: 607: 605: 602: 601: 599: 597: 593: 587: 584: 583: 581: 579: 575: 569: 566: 564: 561: 560: 558: 556: 552: 546: 543: 541: 538: 536: 533: 531: 528: 526: 523: 521: 518: 516: 513: 511: 508: 506: 503: 501: 498: 496: 493: 491: 488: 486: 483: 480: 478: 475: 473: 470: 468: 465: 463: 460: 458: 455: 453: 450: 448: 445: 443: 440: 438: 435: 433: 430: 428: 425: 423: 420: 418: 415: 413: 410: 408: 405: 403: 400: 399: 397: 395: 391: 385: 382: 380: 377: 375: 372: 370: 367: 365: 362: 360: 357: 355: 352: 351: 349: 345: 339: 336: 334: 331: 329: 326: 324: 321: 318: 314: 311: 310: 308: 304: 299: 289: 286: 284: 281: 279: 276: 275: 273: 269: 265: 258: 253: 251: 246: 244: 239: 238: 235: 228: 224: 221: 218: 217: 196: 192: 186: 171: 165: 149: 145: 139: 135: 125: 122: 121: 115: 113: 107: 99: 97: 96:shared memory 92: 88: 85:the compiled 84: 74: 72: 68: 64: 61: 57: 46: 34: 29: 20: 19: 16: 771:PHP software 721:expanding it 710: 695: 520:Silverstripe 312: 288:Zeev Suraski 278:Andi Gutmans 199:. Retrieved 195:the original 185: 173:. Retrieved 164: 152:. Retrieved 148:the original 138: 108: 105: 80: 55: 53: 40: 32: 15: 634:Zend Studio 614:Eclipse PDT 609:Codelobster 510:ProcessWire 407:CodeIgniter 384:Zend Engine 313:Accelerator 201:2 September 175:2 September 154:2 September 43:August 2017 760:Categories 490:PHP-Fusion 417:eZ Publish 130:References 535:WordPress 442:Gyroscope 374:Phalanger 333:Libraries 306:Resources 112:optimizer 77:Operation 63:extension 675:Category 629:PhpStorm 619:NetBeans 586:Doctrine 495:PHP-Nuke 422:Fat-Free 369:PeachPie 323:Composer 223:Archived 118:See also 91:bytecode 67:software 685:Commons 652:PHP-GTK 624:PHPEdit 568:PHPUnit 555:Testing 525:Symfony 500:Pop PHP 485:Phalcon 472:Midgard 462:Laravel 457:Laminas 452:Joomla! 432:FuelPHP 402:CakePHP 379:Quercus 328:Editors 83:caching 33:updated 657:wxPHP 604:Aptana 412:Drupal 364:Parrot 271:People 87:opcode 711:This 563:Behat 540:XOOPS 530:TYPO3 515:Qcodo 505:PRADO 481:Nette 447:Horde 359:HPHPc 58:is a 717:stub 596:IDEs 578:ORMs 477:MODX 437:Grav 427:Flow 354:HHVM 338:PEAR 317:List 203:2010 177:2010 156:2010 545:Yii 467:li₃ 264:PHP 60:PHP 762:: 73:. 54:A 748:e 741:t 734:v 723:. 319:) 315:( 256:e 249:t 242:v 205:. 179:. 158:. 89:/ 45:) 41:(

Index

PHP
extension
software
programming language
caching
opcode
bytecode
shared memory
optimizer
List of PHP accelerators
"PHP on Windows: The WinCache 1.0 Benchmark"
the original
"Benchmarking Drupal with PHP op-code caches: APC, eAccelerator and XCache compared"
"Performance of Yii"
the original
Alternative PHP Cache
Archived
Wayback Machine
v
t
e
PHP
Andi Gutmans
Rasmus Lerdorf
Zeev Suraski

Accelerator
List
Composer
Editors

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑