Code Monkey home page Code Monkey logo

Comments (8)

yuslf avatar yuslf commented on June 11, 2024

mysqli_plugin.php
mysqli_func_plugin.php
pdo_plugin.php
plugins_create.php
interceptor.php
pinpoint_agent.conf.example

In PHP 5.6, the onBefore methods of these interceptors will not execute and there is no error message.But in PHP 7.2 they can work properly.

from pinpoint-c-agent.

yuslf avatar yuslf commented on June 11, 2024

I also wrote some other interceptors.For example: Curl, Redis, Memcache, these interceptors can work either in PHP 5.6 or in PHP 7.2.

from pinpoint-c-agent.

ChenGXQQ avatar ChenGXQQ commented on June 11, 2024

@yuslf Thanks for reporting. We'll investigate ASAP.

from pinpoint-c-agent.

EyelynSu avatar EyelynSu commented on June 11, 2024

@yuslf
I tried in my env, agent runs normally, function in mysqli and pdo can be monitored.
1546420931

[env]
php-5.6.39
pinpoint-c-agent: v0.1.1rc1

from pinpoint-c-agent.

ChenGXQQ avatar ChenGXQQ commented on June 11, 2024

@yuslf Please clarify us the exact PHP version, include the minimum version number.

from pinpoint-c-agent.

yuslf avatar yuslf commented on June 11, 2024

um, like this.


PHP 5.6.17 (cli) (built: Feb 11 2016 00:41:07)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies


CentOS release 6.9 (Final)

Linux version 2.6.32-696.20.1.el6.x86_64 (mockbuild@x86_64_01.bsys.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) ) #1 SMP Fri Jan 26 17:51:45 UTC 2018


and, i used my modified pinpoint, maybe this will become a problem, but, it is OK on PHP 7.2.

https://github.com/yuslf/pinpoint-c-agent

from pinpoint-c-agent.

EyelynSu avatar EyelynSu commented on June 11, 2024

@yuslf @ChenGXQQ
I tried on env with php 5.6.17 and centos6.9, Interceptors works normally:
1546587565-centos69

[env]
php-5.6.17
pinpoint-c-agent: v0.1.1rc1
centos6.9

from pinpoint-c-agent.

yuslf avatar yuslf commented on June 11, 2024

OK... it should be my env problem. Thinks.

from pinpoint-c-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.