Skip to content

MedUnes/php-spx-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP SPX Installer

  • An installer for 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 Author

How you use it?

To install PHP-SPX for a specific version:

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 <version> <type>
  • <version>: one of 5.6, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1 or 8.2
  • <type>: one of fpm or cli

Examples:

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..