1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Add support for newrelic (#910)

This commit is contained in:
Michele Locati 2024-04-16 10:52:52 +02:00 committed by GitHub
parent 9eb0c12a9c
commit b899180851
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 51 additions and 2 deletions

15
scripts/tests/newrelic Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env php
<?php
require_once __DIR__ . '/_bootstrap.php';
$rc = 0;
echo 'Checking if newrelic_start_transaction() exists... ';
if (!function_exists('newrelic_start_transaction')) {
$rc = 1;
echo "NO!\n";
} else {
echo "yes.\n";
}
exit($rc);