vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   problem whene i install xCache. (https://vborg.vbsupport.ru/showthread.php?t=214114)

Almotmaiz.Net 05-20-2009 08:08 AM

problem whene i install xCache.
 
hello every body.

i tried install xCache on my server ..every thing looks working fine but whene this xcache load .. i can open my sites on server. but this shown to me download page. ex. im log to ex.com --> download index.php

i hv installed use this .

Code:

cd /home
wget http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gz
gunzip -c xcache-1.2.2.tar.gz | tar xf -
cd xcache-1.2.2
/usr/bin/phpize
./configure --enable-xcache
make
make install

and hv add on php.ini
Code:

extension = "xcache.so"
[xcache.admin]
xcache.admin.user = "NLP"
xcache.admin.pass = "61310cbe71074267b7b91178279cccd3"

[xcache]
xcache.shm_scheme        = "mmap"
xcache.size            = 128M
xcache.count            = 4
xcache.slots            = 8K
xcache.ttl            = 7200
xcache.gc_interval        = 300

xcache.var_size            = 128M
xcache.var_count        = 4
xcache.var_slots        = 8K
xcache.var_ttl            = 7200
xcache.var_maxttl        = 14400
xcache.var_gc_interval        = 300

xcache.test            = Off
xcache.readonly_protection    = Off
xcache.mmap_path        = "/dev/zero"
xcache.coredump_directory    = "/tmp"

xcache.cacher            = On
xcache.stat            = On
xcache.optimizer        = On

[xcache.coverager]
xcache.coverager        = Off
xcache.coveragedump_directory    = ""

any help ? and thanks in advance.

UKBusinessLive 05-26-2009 05:19 AM

Hi,

XCache is a open-source opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and uses the compiled version straight from the RAM. This will increase the rate of page generation time by up to 5 times as it also optimizes many other aspects of php scripts and reduce serverload.

Have a quick look here http://www.cyberciti.biz/faq/howto-r...opcode-cacher/


this explains in basic terms the installation of xcache, and you'll be able to test it afterwards, Let me know if you managed to get it working ;)

Good luck ;)


All times are GMT. The time now is 01:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01727 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete