How to upgrade munkireport-php (2.x to 3.x) on MacOS (Server)

  1. Rename reports folder to reportsOLD
  2. Copy the updated files to the repo (rename to reports)
  3. Copy the config.php(root) & database(/app/db/)
  4. Upgrade server to PHP v7 
sudo curl -s | bash -s 7.1 
    Edit /Library/Server/Web/Config/apache2/httpd_server_app.conf 
    Comment out the default php5 module 
#LoadModule php5_module libexec/apache2/ 
    Add a path to include a custom import for PHP 7 
#Updated php module settings 
Include /private/etc/apache2/custom/php7-include.conf 
    Create a new directory for custom
sudo mkdir  /etc/apache2/custom
    Create the file /etc/apache2/custom/php7-include.conf with the contents 
LoadModule php7_module /usr/local/php5/      
<IfModule php7_module>     
        AddType application/x-httpd-php .php     
        AddType application/x-httpd-php-source .phps
    <IfModule dir_module>         
        DirectoryIndex index.html index.php     
export PATH=/usr/local/php5/bin:$PATH
    (php -v to test)
    Restart the httpd process 
sudo launchctl stop
sudo launchctl start
  1. CD to reports
  1. Upgrade:
php composer.phar install –no-dev –no-suggest –optimize-autoloader
  1. The new URL will have /public at the end.
  2. Create a package to update the clients to look at the the new URL (/public) – Use Munki
or do it the correct way by following this :

Auto setup the Adobe Update Server Setup Tool (AUSST)

Launch Terminal and type:

bash <(curl -Ls

Munki tools System Preference Pane

Very simple way of viewing some client side details of an enrolled munki client