/info.php

Description

eAccelerator controlpanel It's possible to control eAccelerator with some functions eaccelerator provides.

These functions can be disabled with the configuration switch --without-eaccelerator-info at compile time.

Functions
eaccelerator_cached_scripts (line 77)

Get cached scripts Get an array with all cached scripts. This is an indexed array with each element an associative array with information about the cached script.

You are only allowed to use this function in scripts that are in the eaccelerator.admin_allowed_path

  • return: An indexed array with information about cached scripts
array eaccelerator_cached_scripts ()
eaccelerator_caching (line 23)

Enable/disable caching You are only allowed to use this function in scripts that are in the eaccelerator.admin_allowed_path

void eaccelerator_caching (boolean $flag)
  • boolean $flag: true to enable and false to disable eAccelerator caching
eaccelerator_clean (line 40)

Clean the cache

Remove all expired scripts and data from shared memory and disk cache. You are only allowed to use this function in scripts that are in the eaccelerator.admin_allowed_path

void eaccelerator_clean ()
eaccelerator_clear (line 48)

Clear the cache

Remove all unused scripts and data from shared memory and disk cache, this means all data that isn't used in the current requests. You are only allowed to use this function in scripts that are in the eaccelerator.admin_allowed_path

void eaccelerator_clear ()
eaccelerator_info (line 66)

Get info Get info about eAccelerator, this is the info that is showed in the phpinfo() page. There is also some information about compile time options like the shared memory and semaphores used.

  • return: An associative array with the info => value pairs
array eaccelerator_info ()
eaccelerator_list_keys (line 97)

List cached keys Returns list of keys in shared memory that matches actual hostname or namespace.

  • return: An indexed array with value an associative array with information about that key.
array eaccelerator_list_keys ()
eaccelerator_optimizer (line 32)

Enable/disable the optimizer You are only allowed to use this function in scripts that are in the eaccelerator.admin_allowed_path

void eaccelerator_optimizer (boolean $flag)
  • boolean $flag: true to enable and false to disable eAccelerator the optimizer
eaccelerator_purge (line 56)

Purge the cache

Removed all scripts that are marked for deletetion. This will happen automaticly when shared memory is needed. You are only allowed to use this function in scripts that are in the eaccelerator.admin_allowed_path

void eaccelerator_purge ()
eaccelerator_removed_scripts (line 88)

Get removed cached scripts

Get an array with all cached scripts that are marked as removed. This is an indexed array with each element an associative array with information about the cached script. You are only allowed to use this function in scripts that are in the eaccelerator.admin_allowed_path

  • return: An indexed array with information about the removed scripts
array eaccelerator_removed_scripts ()

Documentation generated on Mon, 06 Mar 2006 09:50:32 +0100 by phpDocumentor 1.3.0RC4