Не устанавливается ACP

12
D
На сайте с 28.06.2008
Offline
1101
1156

Собственно все на скриншоте, что ему не нравится?

jpg 1.jpg
A
На сайте с 22.02.2009
Offline
39
#1

apxs (apache/httpd-dev/devel)

D
На сайте с 28.06.2008
Offline
1101
#2

А для простых смертных? Можно подробнее, я просто не шарю в этом особо...

M
На сайте с 01.12.2009
Offline
235
#3
Dram:
А для простых смертных? Можно подробнее, я просто не шарю в этом особо...

Что за OS у вас

Администратор Linux,Freebsd. построения крупных проектов.
N
На сайте с 06.05.2007
Offline
419
#4

cудя по ответу ssh - это дебиан.

ну и зачем вам еaccelerator для джумлы, если он больше не поддерживает хранение данных в памяти?

там есть пакет xcache, он не хуже и его легче установить.

apxs там называется /usr/bin/apxs2, а если его там нет, то нужно ставить пакет.

Кнопка вызова админа ()
D
На сайте с 28.06.2008
Offline
1101
#5

Спасибо за советы, установил xcache, включил его в админке джумлы - в итоге куча ошибок

Warning: xcache_isset() [<a href='function.xcache-isset'>function.xcache-isset</a>]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт..com/libraries/joomla/cache/storage/xcache.php on line 56

Warning: xcache_set() [<a href='function.xcache-set'>function.xcache-set</a>]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.com/libraries/joomla/cache/storage/xcache.php</b> on line76

N
На сайте с 06.05.2007
Offline
419
#6

xcache.var_size is either 0 or too small to enable var data caching

и что тут не понятного? найди и увеличь переменную

D
На сайте с 28.06.2008
Offline
1101
#7

В файле /joomla/cache/storage/xcache.php xcache.var_size нет. А где еще поискать и сколько там поставить?

N
На сайте с 06.05.2007
Offline
419
#8

/etc/php5/conf.d/xcache.ini

D
На сайте с 28.06.2008
Offline
1101
#9

Изменил: ошибки не пропали

Warning: xcache_set() [function.xcache-set]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.ru/components/com_qcache/backends/xcache.php on line 18


Warning: xcache_get() [function.xcache-get]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.ru/components/com_qcache/backends/xcache.php on line 10

Warning: xcache_unset() [function.xcache-unset]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.ru/components/com_qcache/backends/xcache.php on line 23

Вот мой ини

# configuration for php Xcache module


[xcache-common]
;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
zend_extension = /usr/lib/php5/20060613+lfs/xcache.so

[xcache.admin]
xcache.admin.enable_auth = On
# Configure this to use admin pages
; xcache.admin.user = "mOo"
; xcache.admin.pass = md5($your_password)
; xcache.admin.pass = ""

[xcache]
; ini only settings, all the values here is default unless explained

; select low level shm/allocator scheme implemenation
xcache.shm_scheme = "mmap"
; to disable: xcache.size=0
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
xcache.size = 16M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count = 1
; just a hash hints, you can always store count(items) > slots
xcache.slots = 8K
; ttl of the cache item, 0=forever
xcache.ttl = 0
; interval of gc scanning expired items, 0=no scan, other values is in seconds
xcache.gc_interval = 0

; same as aboves but for variable cache
xcache.var_size = 64M
xcache.var_count = 1
xcache.var_slots = 8K
; default ttl
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300

xcache.test = On
; N/A for /dev/zero
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory.
; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache
; for win32, xcache.mmap_path=anonymous map name, not file path
xcache.mmap_path = "/dev/zero"


; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory = ""

; per request settings
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off

[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)
xcache.coverager = Off

; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = ""

А вот xcache.php на который ругаются ошибки

<?php

/**
**/
// Check to ensure this file is within the rest of the framework
defined('_VALID_MOS') or die();

class qcache_backend extends qcache_main {

function fetch($id) {
return xcache_get($id);
}

function test() {
return (function_exists('xcache_set'));
}

function store($id, $data) {
return xcache_set($id, $data, QCACHE_TTL);
}


function _delete($id) {
return xcache_unset($id);
}

function _isset($id) {
return xcache_isset($id);
}
}

pupseg
На сайте с 14.05.2010
Offline
364
#10
Dram:
Изменил: ошибки не пропали

а апачу дернул после изменения переменных?

Качественная помощь в обслуживании серверов. (/ru/forum/661100) Бесплатных консультаций не даю, не помогаю, не обучаю. Минималка от 100$. Как пропатчить KDE-просьба не спрашивать. Есть форумы (http://linux.org.ru) и полезные сайты (http://www.opennet.ru/).
12

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий