Skip to content

Instantly share code, notes, and snippets.

@adam-hert
Created July 25, 2017 21:40
Show Gist options
  • Save adam-hert/ab042e23b564c451560ea9c7af443021 to your computer and use it in GitHub Desktop.
Save adam-hert/ab042e23b564c451560ea9c7af443021 to your computer and use it in GitHub Desktop.
Install script for PHP5.6 on Ubuntu16
#Download correct binary
wget http://files.tv.solarwinds.com/php/php-oboe-20131226-x86_64.so -O /usr/lib/php/20131226/oboe.so
#set permissions
chmod 644 /usr/lib/php/20131226/oboe.so
#Create ini file
echo "extension=oboe.so
[oboe]
oboe.tracing = through
oboe.enable_sanitize_sql = 0
oboe.enable_drupal_tracing = 1
oboe.enable_drupal_profiling = 0
oboe.collector_ip = 127.0.0.1
oboe.collector_port = 7831" > /etc/php/5.6/mods-available/oboe.ini
#create a symlink for apache config
ln -s /etc/php/5.6/mods-available/oboe.ini /etc/php/5.6/apache2/conf.d/20-oboe.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment