Update the PHP microagent

To take full advantage of the latest features, enhancements, and performance improvements, we strongly recommend you regularly update the Sqreen PHP microagents deployed on your servers.

Ubuntu or Debian

  1. Download the latest package information.
    sudo apt-get update
    
  2. To update to the latest version of the Sqreen daemon, run the following command.
    sudo apt-get install sqreen-agent
    
  3. To update to the latest version of the PHP extension, run the following command.
    sudo apt-get install sqreen-php-extension
    
  4. Restart your web application server.

Red Hat or CentOS

  1. To update to the latest version of the Sqreen daemon, run the following command.
    sudo yum update sqreen-agent
    
  2. To update to the latest version of the PHP extension, run the following command.
    sudo yum update sqreen-php-extension
    
  3. Restart your web application server.

Heroku

  1. Follow the same process to install the microagent, but update the version in your composer.json file. Refer to Heroku's documentation on creating the composer.json file.
  2. Redeploy the microagent.

For more information about updates, refer to the Release notes.