Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
1
Help us understand the problem. What is going on with this article?
@mickey390

fluentd in_execプラグインからcurl_exec(php)実行すると落ちる?

More than 5 years have passed since last update.

なぜなのか・・・
分かるかたいたら教えて下さい。

aws sdkで色々情報とろうかとしていた時に気づきました。
https://github.com/amazonwebservices/aws-sdk-for-php/blob/master/lib/requestcore/requestcore.class.php#L843

環境

$ td-agent --version
td-agent 0.10.50

$ php -v
PHP 5.5.9-1ubuntu4.4 (cli)

$ curl -V
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

起こったこと

fluentd(in_exec)

phpスクリプト実行
- curl_exec() でおちる。
- エラーも吐かない。。
- http://php.net/manual/ja/function.curl-exec.php

1
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
1
Help us understand the problem. What is going on with this article?