<div dir="ltr">


        
        <span></span>
        
        


<pre class="gmail-western"><code class="gmail-western">Hi,<br>based on this link <a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-16-04">https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-16-04</a><br><br></code></pre><pre class="gmail-western"><code class="gmail-western">i installed composer 1.9 with these following commands.<br></code></pre><pre class="gmail-western"><code class="gmail-western"><br>curl -sS <a href="https://getcomposer.org/installer">https://getcomposer.org/installer</a> -o composer-setup.php</code></pre>
<pre class="gmail-western"><code class="gmail-western">php -r "if (hash_file('SHA384', 'composer-setup.php') === '</code><code class="gmail-western">a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1</code><code class="gmail-western">') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"</code>
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer<br><br></pre><pre class="gmail-western">And afterwards composer install <code>worked and the only warning i got at the end of the installation was<br></code><br><<phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)<br>Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.<br>Package phpunit/dbunit is abandoned, you should avoid using it. No replacement was suggested.>><br><br></pre><pre class="gmail-western">And from the loris-error.log<br><br>[Sun Sep 01 22:18:03.479956 2019] [php7:error] [pid 15737] [client <a href="http://127.0.0.1:43560">127.0.0.1:43560</a>] PHP Fatal error:  Uncaught ConfigurationException: Config file config.xml does not exist in the defined locations. in /var/www/loris/php/libraries/NDB_Config.class.inc:139\nStack trace:\n#0 /var/www/loris/php/libraries/NDB_Config.class.inc(66): NDB_Config->configFilePath()\n#1 /var/www/loris/php/libraries/NDB_Factory.class.inc(118): NDB_Config::singleton(NULL)\n#2 /var/www/loris/php/libraries/NDB_Client.class.inc(54): NDB_Factory->config(NULL)\n#3 /var/www/loris/htdocs/index.php(27): NDB_Client->initialize()\n#4 {main}\n  thrown in /var/www/loris/php/libraries/NDB_Config.class.inc on line 139<br></pre></div>