Ошибка 500
Re: Ошибка 500
На php 5.4 Xcache будет работать. В стандартном репозитории его нет. Поэтому ставить придется из сторонних источников. Предварительно установив php-devel
Попробуйте по адресу /etc/yum.repos.d
в файле remi.repo
Внизу добавить
Получится так:
И выполните либо yum update либо
yum -y update phpmyadmin
или
yum install phpMyAdmin.noarch
Попробуйте по адресу /etc/yum.repos.d
в файле remi.repo
Code: Select all
[remi]
name=Les RPM de remi pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Code: Select all
includepkgs=phpMyAdmin
Code: Select all
[remi]
name=Les RPM de remi pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
includepkgs=phpMyAdmin
yum -y update phpmyadmin
или
yum install phpMyAdmin.noarch
Re: Ошибка 500
Или команда
Code: Select all
yum --enablerepo=remi install phpmyadmin
-
- Posts: 258
- Joined: Fri Jan 10, 2014 7:34 pm
Re: Ошибка 500
Спасибо, но именно этой командой пробовал апдейтить - он мне весь php апдейтнул.imperio wrote:Или командаCode: Select all
yum --enablerepo=remi install phpmyadmin
Re: Ошибка 500
includepkgs=phpMyAdmin
в файл репозитория remi
Тогда должен обновится только phpMyAdmin
Написал об этом двумя постами выше
в файл репозитория remi
Тогда должен обновится только phpMyAdmin
Написал об этом двумя постами выше
-
- Posts: 258
- Joined: Fri Jan 10, 2014 7:34 pm
Re: Ошибка 500
Ок, спасибо. Через несколько часов сайты докачаются и я доложу об работоспособности друпала с APC.imperio wrote:includepkgs=phpMyAdmin
в файл репозитория remi
Тогда должен обновится только phpMyAdmin
Написал об этом двумя постами выше
Re: Ошибка 500
при установке RootPanel выдает ошибку 500, менял шаблоны Apache/Nginx не помогло, CentOS 6.5_x64
в логах апача
[Sat Mar 22 15:12:17 2014] [notice] child pid 31040 exit signal Segmentation fault (11)
[Sat Mar 22 15:12:21 2014] [notice] child pid 31043 exit signal Segmentation fault (11)
[Sat Mar 22 15:12:23 2014] [notice] child pid 31037 exit signal Segmentation fault (11)
в логе домена
2014/03/22 15:16:17 [error] 30984#0: *147 upstream prematurely closed connection while reading response header from upstream, client: xxxx.xxx.xxx.xxx,
server: xxx.xxxxx.ru, request: "GET /admin.php HTTP/1.1", upstream: "http://xxx.xxx.xxx.xxx:8080/admin.php", host: "xxx.xxx.ru"
в логах апача
[Sat Mar 22 15:12:17 2014] [notice] child pid 31040 exit signal Segmentation fault (11)
[Sat Mar 22 15:12:21 2014] [notice] child pid 31043 exit signal Segmentation fault (11)
[Sat Mar 22 15:12:23 2014] [notice] child pid 31037 exit signal Segmentation fault (11)
в логе домена
2014/03/22 15:16:17 [error] 30984#0: *147 upstream prematurely closed connection while reading response header from upstream, client: xxxx.xxx.xxx.xxx,
server: xxx.xxxxx.ru, request: "GET /admin.php HTTP/1.1", upstream: "http://xxx.xxx.xxx.xxx:8080/admin.php", host: "xxx.xxx.ru"
Re: Ошибка 500
В браузере видите ошибку 500 от nginx ?
Похоже что падает apache так как долго не может обработать скрипты.
Попробуйте увеличить лимиты php и рестартануть apache
Удалите APC
также рестартаните апач после этого
Для веб-доменов используйте шаблоны default (apache и nginx) в панели
Похоже что падает apache так как долго не может обработать скрипты.
Попробуйте увеличить лимиты php и рестартануть apache
Удалите APC
Code: Select all
yum remove php-pecl-apc
Code: Select all
service httpd restart
Re: Ошибка 500
удалил давно, стоит XCache, мож из за него?Удалите APC
Code: Select all
[root@xxxxxx ~]# php -v
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with XCache v3.0.4, Copyright (c) 2005-2013, by mOo
with the ionCube PHP Loader v4.5.3, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with XCache Optimizer v3.0.4, Copyright (c) 2005-2013, by mOo
with XCache Cacher v3.0.4, Copyright (c) 2005-2013, by mOo
with XCache Coverager v3.0.4, Copyright (c) 2005-2013, by mOo
[root@xxxxx ~]#
В браузере видите ошибку 500 от nginx ?
Code: Select all
500
Internal Server Error
Sorry, something went wrong :(
Попробуйте увеличить лимиты php и рестартануть apache
Code: Select all
memory_limit = 512M
max_input_time = 150
max_execution_time = 150
Re: Ошибка 500
Не думаю, но такой вариант не исключён. Попробуйте выключитьудалил давно, стоит XCache, мож из за него?
Покажите error логи apache в момент получения ошибки.
Code: Select all
/var/log/httpd/error_log
/var/log/httpd/domains/$domain.error.log
Нужно смотреть логи.
Re: Ошибка 500
/var/log/httpd/error_log
/var/log/httpd/domains/$domain.error.log
.htaccess и пробовал его удалять
может что то скриптам не нравится в Zend Guard Loader, версия там например которыми скрипты накрыты?
может дать вам RootPanel 2.0.0 для проверки у себя?
Code: Select all
[Sun Mar 23 15:41:57 2014] [notice] child pid 16268 exit signal Segmentation fault (11)
[Sun Mar 23 15:42:01 2014] [notice] child pid 16273 exit signal Segmentation fault (11)
[Sun Mar 23 15:42:03 2014] [notice] child pid 16274 exit signal Segmentation fault (11)
[Sun Mar 23 15:42:05 2014] [notice] child pid 16269 exit signal Segmentation fault (11)
Code: Select all
2014/03/23 15:41:56 [error] 979#0: *13680 upstream prematurely closed connection while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.xxxx.ru, request: "GET /admin.php HTTP/1.1", upstream: "http://xxx.xxx.xxx.xxx:8080/admin.php", host: "xxx.xxxx.ru"
2014/03/23 15:42:00 [error] 979#0: *13680 upstream prematurely closed connection while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.xxxx.ru, request: "GET /admin.php HTTP/1.1", upstream: "http://xxx.xxx.xxx.xxx:8080/admin.php", host: "xxx.xxxx.ru"
2014/03/23 15:42:02 [error] 979#0: *13680 upstream prematurely closed connection while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.xxxx.ru, request: "GET /admin.php HTTP/1.1", upstream: "http://xxx.xxx.xxx.xxx:8080/admin.php", host: "xxx.xxxx.ru"
2014/03/23 15:42:04 [error] 979#0: *13680 upstream prematurely closed connection while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.xxxx.ru, request: "GET /admin.php HTTP/1.1", upstream: "http://xxx.xxx.xxx.xxx:8080/admin.php", host: "xxx.xxxx.ru"
Code: Select all
Options -Indexes
<Files ~ "_root*">
Order allow,deny
Deny from all
</Files>
а как XCache отключить?Не думаю, но такой вариант не исключён. Попробуйте выключить
может что то скриптам не нравится в Zend Guard Loader, версия там например которыми скрипты накрыты?
может дать вам RootPanel 2.0.0 для проверки у себя?