Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: eaccelerator instaliacija

Parašė CabaX· 2009 Lie. 21 18:07:11
#1

Kas galit Lietuviškai paaiškint eaccelerator istaliacija?

Note(1): for Microsoft Windows installation, please refer to README.win32 file.

Step 1. Compiling eAccelerator

  export PHP_PREFIX="/usr"
 
  $PHP_PREFIX/bin/phpize
 
  ./configure \
  --enable-eaccelerator=shared \
  --with-php-config=$PHP_PREFIX/bin/php-config
 
  make

  You must specify the real prefix where PHP is installed in the "export"
  command. It may be "/usr" "/usr/local", or something else.

Step 2. Installing eAccelerator

  make install

Step 3. Configuring eAccelerator

eAccelerator can be installed both as Zend or PHP extension.

For eaccelerator > 0.9.1, if you have /etc/php.d directory, you should copy eaccelerator.ini inside and modify default value if you need.

If not, you need to edit your php.ini file (usually /etc/php.ini).

To install as Zend extension:

  zend_extension="/usr/lib/php4/eaccelerator.so"
  eaccelerator.shm_size="16"
  eaccelerator.cache_dir="/tmp/eaccelerator"
  eaccelerator.enable="1"
  eaccelerator.optimizer="1"
  eaccelerator.check_mtime="1"
  eaccelerator.debug="0"
  eaccelerator.filter=""
  eaccelerator.shm_max="0"
  eaccelerator.shm_ttl="0"
  eaccelerator.shm_prune_period="0"
  eaccelerator.shm_only="0"
  eaccelerator.compress="1"
  eaccelerator.compress_level="9"

  If you use thread safe build of PHP you must use "zend_extension_ts" instead
  of "zend_extension".

To install as PHP extension:

  extension="eaccelerator.so"
  eaccelerator.shm_size="16"
  eaccelerator.cache_dir="/tmp/eaccelerator"
  eaccelerator.enable="1"
  eaccelerator.optimizer="1"
  eaccelerator.check_mtime="1"
  eaccelerator.debug="0"
  eaccelerator.filter=""
  eaccelerator.shm_max="0"
  eaccelerator.shm_ttl="0"
  eaccelerator.shm_prune_period="0"
  eaccelerator.shm_only="0"
  eaccelerator.compress="1"
  eaccelerator.compress_level="9" 

Step 4. Creating cache directory

  mkdir /tmp/eaccelerator
  chmod 0777 /tmp/eaccelerator





Parašė Ciobrelis· 2009 Lie. 21 18:07:40
#2

Pažymėkite (1): Microsoft Windows įdiegimui,
prašom kreiptis į README.win32 rinkmeną. 1 žingsnis.
 Kompiliavimas eAccelerator eksportuoja PHP_PREFIX = "/ usr". $ PHP_PREFIX / bin / phpize / formuoti \-enable-eAccelerator = shared \-with-php-config = $ PHP_PREFIX / bin / php-config daro, Jūs turite apibrėžti
 tikrą priešdėlį, kur PHP yra įdiegtas "eksporto" komandoje.
Tai gali būti "/ usr" "/ usr / local", su kažkuo kita.
2 žingsnis. Montavimas eAccelerator daro, įdiegia
3 Žingsnį. Konfiguravimas eAccelerator eAccelerator gali būti įdiegtas abu kaip Zend su PHP ištęsimas.
EAccelerator> 0.9.1, jei jūs turite / etc / php.d žinyną, jūs turite nukopijuoti
eaccelerator.ini viduje ir pakeisti numatytąją verte, jei jums reikia.
Jei ne, jūs turite suredaguoti savo php.ini rinkmeną (paprastai / etc / php.ini).
Įdiegti kaip Zend ištęsimas: zend_extension = "/ usr/lib/php4/eaccelerator.so"
eaccelerator.shm_size = "16" eaccelerator.cache_dir = "/ tmp / eAccelerator"
eaccelerator.enable = "1" eaccelerator.optimizer = "1"
eaccelerator.check_mtime = "1" eaccelerator.debug = "0"
eaccelerator.filter = "" eaccelerator.shm_max = "0" eaccelerator.shm_ttl = "0" eaccelerator.shm_prune_period = "0" eaccelerator.shm_only = "0"
eAccelerator. Compress = "1" eaccelerator.compress_level = "9",
Jei jūs naudojate siūlo SEIFA stato yra PHP, jūs turite panaudoti
"zend_extension_ts" vietoj to "zend_extension".
 Įdiegti kaip PHP ištęsimas: ištęsimas = "eaccelerator.so" eaccelerator.shm_size = "16"
eaccelerator.cache_dir = "/ tmp / eAccelerator" eaccelerator.enable = "1"
eaccelerator.optimizer = "1" eaccelerator.check_mtime = "1"
 eaccelerator.debug = "0" eaccelerator.filter = "" eaccelerator.shm_max = "0"
eaccelerator.shm_ttl = "0" eaccelerator.shm_prune_period = "0" eaccelerator.shm_only = "0" eaccelerator.compress = "1" eAccelerator. compress_level = "9" 4
žingsnis. Kūrimas slėptuvės žinyno mkdir / tmp / eAccelerator chmod 0777/tmp/eaccelerator


naudokis google ;)
cia bisky sumakliota bet manau atsirinksi ;)

Redagavo Ciobrelis· 2009 Lie. 21 18:07:26