From: Dank Bagryantsev <4alt@mail.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] Проблема с php5-curl на nginx+spawn-fcgi Date: Tue, 20 Jul 2010 11:58:34 +0300 Message-ID: <693342673.20100720115834@lugaport.net> (raw) Здравствуйте. Понадобилось мне 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
next reply other threads:[~2010-07-20 8:58 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-07-20 8:58 Dank Bagryantsev [this message] 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 ` Денис Смирнов
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=693342673.20100720115834@lugaport.net \ --to=4alt@mail.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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