ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Проблема с php5-curl на nginx+spawn-fcgi
@ 2010-07-20  8:58 Dank Bagryantsev
  2010-07-20 16:23 ` Slava Dubrovskiy
  2010-07-20 16:27 ` Vitaly Kuznetsov
  0 siblings, 2 replies; 9+ messages in thread
From: Dank Bagryantsev @ 2010-07-20  8:58 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Здравствуйте.

Понадобилось мне 2-3 месяца назад создать OpenVZ контейнер под
Wordpress сайты на nginx (на базе p5, HN CentOS 5.4).
Все прошло тогда успешно, больше 2-х месяцев все отработало, в
принципе, нормально. Но сейчас для одного из плагинов WP понадобился php5-curl
В итоге, после установки php5-curl административная панель WP
перестает работать.
В логах:
nginx:
2010/07/19 20:17:28 [error] 13708#0: *1915256 recv() failed (104: Connection reset by peer) while reading response header from upstream,
client:xxx.xxx.xxx.xxx, server: site.com, request: "GET /wp-admin/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "site.com"

syslog:
Jul 19 20:17:28 site suhosin[3973]: ALERT - possible memory corruption detected - unknown Hashtable destructor (attacker 'xxx.xxx.xxx.xxx',
file '/var/www/vhosts/site.com/htdocs/wp-includes/http.php', line 1383)

Как только выключаешь php5-curl - работа восстанавливается.
Есть подозрение, что проблема ALT-specific, т.к. в соседних OpenVZ
контейнерах с Debian все нормально.

rpm -qa | grep nginx
nginx-0.8.19-alt1

rpm -qa | grep php
php5-suhosin-0.9.27-alt3
php5-5.2.11.20090722-alt1
php5-eaccelerator-0.9.5.3-alt4
php5-gmagick-5.2.11.20090722-alt1
php5-mcrypt-5.2.11.20090722-alt1
php5-mysql-5.2.11.20090722-alt1
php5-zip-5.2.11.20090722-alt1
php5-simplexml-5.2.11.20090722-alt1
php5-libs-5.2.11.20090722-alt1
php5-bz2-5.2.11.20090722-alt1
php5-gd2-5.2.11.20090722-alt1
php5-mbstring-5.2.11.20090722-alt1
php5-mhash-5.2.11.20090722-alt1
php5-sockets-5.2.11.20090722-alt1
php5-cgi-5.2.11.20090722-alt1
php5-curl-5.2.11.20090722-alt1
php-base-2.4-alt1

Собственно вопрос:
php5-curl рабочий в p5?
Если да, то можно привести какой-нибудь простой php-скрипт для
проверки всех функций php5-curl.
Т.е. я сейчас пытаюсь выяснить, то ли проблема с контейнером, то ли с
php.

-- 
С уважением,
 Dank



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-07-21 23:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-20  8:58 [Sysadmins] Проблема с php5-curl на nginx+spawn-fcgi Dank Bagryantsev
2010-07-20 16:23 ` Slava Dubrovskiy
2010-07-20 16:27 ` Vitaly Kuznetsov
2010-07-20 19:36   ` Dank Bagryantsev
2010-07-21 10:13     ` Vitaly Kuznetsov
2010-07-21 12:28       ` Michael Shigorin
2010-07-21 12:42         ` Vitaly Kuznetsov
2010-07-21 13:03           ` Michael Shigorin
2010-07-21 23:25             ` Денис Смирнов

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git