Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/medunes/php-spx-installer

An installer for PHP SPX profiler.
https://github.com/medunes/php-spx-installer

data-visualization flamegraph performance-analysis php php-extension profiler statistical-profiling tracer visualization

Last synced: 3 months ago
JSON representation

An installer for PHP SPX profiler.

Awesome Lists containing this project

README

        


PHP SPX Installer


* An installer for [PHP SPX](https://github.com/NoiseByNorthwest/php-spx) profiler, that solves [hopefully] most of the encountered issues and works for all supported versions including cli and fpm
* It also supports multiple PHP versions on the same machine

[![tests](https://github.com/MedUnes/php-spx-installer/actions/workflows/test.yml/badge.svg?)](https://github.com/MedUnes/php-spx-installer/actions/workflows/test.yml)
[![Author](https://img.shields.io/badge/[email protected]?style=flat-square)](https://twitter.com/medunes2)

### How you use it?

#### To install PHP-SPX for a specific version:

```bash
medunes@medunes:~/$ git clone https://github.com/MedUnes/php-spx-installer.git
medunes@medunes:~/$ cd php-spx-installer

# needs sudo!
medunes@medunes:~/php-spx-installer$ sudo ./install.sh
```

* ``````: one of 5.6, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1 or 8.2
* ``````: one of ```fpm``` or ```cli```

#### Examples:

```bash
medunes@medunes:~/php-spx-installer$ sudo ./install.sh 7.3 cli
medunes@medunes:~/php-spx-installer$ sudo ./install.sh 7.4 fpm
```
#### TO-DO:

* The current script only supports Linux Debian, would be nice to add support for further OS/Versions..