Linux Compatible
  • News
    • Channels
    • Archive
    • Search
    • Submit
  • Articles
    • Categories
  • Knowledgebase
  • Compatibility
    • Search
  • Links
  • Forums
  • Twitter
Advertisement

Latest News
[ Windows | Linux | Apple ]

· Xbox One hardware and specs: 8-core CPU, 8GB RAM, 500GB hard drive and more
· Tim Cook: US-made Macs will be assembled in Texas
· Microsoft software satisfaction slumps
· Photos of Likely 802.11ac 'Gigabit Wi-Fi' Card From Next-Generation iMac Surface
· Mageia 3 released
· Understanding Email Bounce Messages and more
· How to Prepare for Windows 8 Even Though Its Not Coming to Enterprises
· Microsoft Office Clone Updates Interface, Improves File Support
· Windows Firewall Control 4.0.0.0 released
· 10 amazing Linux desktop environments you've probably never seen

Upcoming News
· [CentOS-announce] CEBA-2013:0846 CentOS 5 xen Update
· [CentOS-announce] CESA-2013:0847 Moderate CentOS 5 kernel Update
· REVIEW: SilverStone AR01 @ PureOverclock
· [security-announce] SUSE-SU-2013:0819-1: critical: Security update for the Linux Kernel (x86)
· Turtle Beach XP Seven Tournament Grade Gaming Headset Video Review @ HardwareHeaven.com
· Long-Awaited Xbox One Makes Its Debut, Microsoft Aims for All-in-One Entertainment Center
· Removing and Wiping Drivers Guide @ OCC
· Oregon Scientific ATC9K Action Camera
· [RHSA-2013:0847-01] Moderate: kernel security and bug fix update
· How to Install AMD Drivers Guide @ OCC

Linux Compatibility
· Dell Dimension 9100
· CL-CAM50001 UPC=3700284609322
· DFE 520 TX
· nVidia GeForce4 MX 440
· Gore: Ultimate Soldier
· SMC2802W V2 wi-fi 54Mbps PCI card
· Wireless modem router N300
· Dell P780
· ASUS A7V8X
· BricsCAD for Linux

New Forum Topics
· shutdown link ?
by: estirwent
on: 2013-05-11 17:46
18 replies, 6421 views

· Laptop keyboard drank soda
by: Zenn
on: 2013-04-30 00:27
1 replies, 678 views

· connecting to to internet with ubuntu
by: Zenn
on: 2013-04-30 00:26
2 replies, 4535 views

· Need Linux-compatible PS/2 expansion card
by: Zenn
on: 2013-04-30 00:26
1 replies, 746 views

· irql_not_less_or_equal blue screen
by: Zenn
on: 2013-04-30 00:25
2 replies, 1130 views

News Channels
· Drivers
· Guides
· Reviews
· Security
· Software
· Press Release
· Updates
· Interviews
· Linux
· General
· Debian
· Red Hat
· Slackware
· Gentoo
· Mandriva
· White Box
· SUSE
· GNOME
· KDE
· CentOS
· Ubuntu
· MEPIS
· Android

What's New
Login to see an overview of all news stories since your last visit.

Welcome to our website

To take full advantage of all features you need to login or register. Registration is completely free and takes only a few seconds.

Linux Compatible » News » July 2002 » PHP Accelerator 1.3.2

PHP Accelerator 1.3.2

Posted by Philipp Esselbach on: 07/30/2002 01:55 AM [ Print | 0 comment(s) ]

Nick Lindridge has released PHP Accelerator 1.3.2:

"Every time a PHP script is accessed, the PHP engine must open the script file and read, parse, and compile the file contents into a compiled form. Only then can the compiled code be executed. With scripts often including other scripts, this work can become a significant part of the overall time to deliver a page. It can also impact I/O performance, and require much dynamic memory allocation that in itself can be time consuming.

The reality, however, is that most PHP scripts never change from one access to the next; indeed they may never change for weeks, months, or even years. The Accelerator works to eliminate the penalty of processing scripts that never change, and by caching the compiled scripts in shared memory, delivers significant performance gains as a result. Note that this is very different to caching script output. PHPA doesn't do this, scripts remain fully dynamic, and if they do change then PHPA caches a new version - they just run faster! "




New in 1.3.2:

The main change is that activation keys are removed. This version is also compatible with ionCube PHP Encoded files (www.ioncube.com/encoder) if the ionCube decoder is loaded. PHPA will not currently cache encoded files for security reasons, but unencoded files are cached as usual.

The are a few minor bug fixes.

The startup behaviour has changed slightly, and should avoid the need to flush the cache during startup scripts. See the changes section below.

New php.ini entries
---------------------

; Sets the period in seconds before a process waiting to get a lock on the
; shm cache will log a warning to say that it's been trying for a while.

phpa.shm_lock_threshold0 = 10

; Sets the period in seconds before a process waiting to get a lock on the
; shm cache will decide to break the cache lock even if the process holding
; the lock is still alive. Do not change this unless advised to as it may
; cause PHPA to kill processes that are legitimately using the cache

phpa.shm_lock_threshold1 = 10

Cache Display Tool
---------------------
Verbose mode now displays times and memory sizes in a more human readable format.

Support for ionCube Encoded Files
--------------------------------------
Files encoded with the ionCube Encoder are now supported. Note that if installing the decoder for encoded files, the decoder extension must be
installed *first*.

e.g.

zend_extension = /usr/local/lib/php_decoder_1.0.2.so
zend_extension = /usr/local/lib/php_accelerator_1.3.2.so

CHANGES FROM PREVIOUS RELEASES
-----------------------------------------
PHPA logs less uninteresting information to the error log to keep it cleaner.

All php.ini entries related to activation keys are no longer recognised and have no effect.

If the php.ini setting 'shm_release_at_exit' is set, (which is the default) then any existing shm cache at *startup* will be deleted, in addition to
at exit. The rationale for this is that if the cache should be deleted at exit, then it shouldn't exist at startup. If it does then it's probably because of an unclean shutdown. The new behaviour should ensure a clean start, and the use of 'phpa_cache_admin -D' before startup should
no longer be required.

PROBLEM FIXES
-----------------
There are a few minor fixes. The most significant of these are:

* global functions (i.e. any non-method) can now be defined inside a method

* a problem where include_once() or require_once() would sometimes process
a file already read with require() or include() is fixed.
Using require_once() or include_once() worked correctly, and is always
recommended as safe design practice over include/require unless there is
a reason to not use it. Performance of include_once() and require_once()
is immeasurably different to include() and require() but safer.

Download


Bookmark and Share

« mm Library Security Patch · UnitedLinux Due In November »

Linux Compatible » News » July 2002 » PHP Accelerator 1.3.2
All products mentioned are registered trademarks or trademarks of their respective owners.
© 2002-2013 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Powered by Contentteller® Business Edition