title: PHPSpreadsheet works in XAMPP but not Apache on Raspbian
body: <p>I setup a small reporting tool with phpSpreadsheet that basically takes some data from one .xlsx and puts it in another .xlsx. It worked like a charm with XAMPP but now that I set it up on a raspberry-pie with raspbian and an apache-Server it just doesn't get the data from the file anymore it seems.</p>
  
  <pre class="lang-php prettyprint-override"><code>require 'vendor/autoload.php';
  use PhpOffice\PhpSpreadsheet\Spreadsheet;
  use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
  
  $readsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load("campaignList.xlsx");
  $datasheet = $readsheet-&gt;getActiveSheet();
  echo $datasheet-&gt;getCell('C1')
  
  $writer = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($readsheet, 'Xlsx');
  $writer-&gt;save('campaignList2.xlsx');
  </code></pre>
  
  <p>Sadly it doesn't echo anything, nor does it generate the new file, nor does it give any error-messages. I installed composer and phpspreadhseet the same way I did for XAMPP with composer (<a href="https://getcomposer.org/doc/00-intro.md" rel="nofollow noreferrer">https://getcomposer.org/doc/00-intro.md</a>) and for the apache setup I followed this guide: <a href="https://hackedit.de/530/" rel="nofollow noreferrer">https://hackedit.de/530/</a>. Sadly I wasn't able to catch any errors there so I'am kinda confused how to move on from here. </p>
  
  <p>I would be very grateful for any tips you lovely people could proivde regarding this matter.</p>