Июл 082013
 

Добрый день.
Клиентский скрипт требует версию php52 и zend optimizer.
Собрал все это дело, но теперь при заходе на сервер, он сразу падает.
В логе сыпятся такие ошибки.

[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined index: root in /usr/local/www/dom.local/docs/index.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined index: Podcatalog in /usr/local/www/dom.local/docs/index.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: HTTP_REFERER in /usr/local/www/dom.local/docs/index.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined index: host in /usr/local/www/dom.local/docs/index.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: HTTP_REFERER in /usr/local/www/dom.local/docs/index.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.localdocs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: dis in /usr/local/www/dom.local/docs/phpshop/inc/catalogtable.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined index: UsersId in /usr/local/www/dom.local/docs/phpshop/inc/rating.inc.php on line 0
[Mon Jul 08 06:31:34 2013] [error] [client 27.25.30.6] PHP Notice: Undefined variable: top in /usr/local/www/dom.local/docs/phpshop/inc/rating.inc.php on line 0
[Mon Jul 08 06:31:35 2013] [notice] child pid 54526 exit signal Segmentation fault (11)
# php -v
PHP 5.2.17 with Suhosin-Patch 0.9.7 (cli) (built: Jul  8 2013 09:06:31)
Copyright (c) 1997-2009 The PHP Group                
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies 
    with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

Методом тыка понял, что все падает из-за zend optimizer, но без него скрипт не будет работать.
После понял, что проблема в кэше а точнее в этом пакете pecl-apc, нужно его убрать и будет вам счастье.
Этот пакет pecl-apc пришел вместе phpmyadmin.
Пересобираем phpmyadmin без поддержки apc.
B удалим порт

# cd /usr/ports/www/pecl-APC && make deinstall clean

Вот и все.
Сервер работает.

 Leave a Reply

(required)

(required)

37 Запросов к базе. 0,378 Генерации страницы, 36MB Использование памяти.
Вы зашли с IP: 54.225.16.10