PHPoffice with the newest Apache service? 2023 installed
-
- New here
- Posts: 2
- Joined: Tue Jun 16, 2020 2:03 pm
PHPoffice with the newest Apache service? 2023 installed
I want to use phpOffice more specific the PHPspreadsheet, i can see that composer is included in te phpmyadmin folder on the web and i have a ssh connection to the nas. Does anybody knows how to install and use this?
-
- New here
- Posts: 2
- Joined: Tue Jun 16, 2020 2:03 pm
Re: PHPspreadsheet with the newest Apache service? need help.
/mnt/ext/opt/apache/bin/php -v to get to the PHP version so its 7.4.30
/mnt/ext/opt/apache/bin/php composer.phar install not working.
i tried this but it returned error 500.
<?php
// Excel-bestand genereren
require_once 'vendor/autoload.php';
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
$spreadsheet = new Spreadsheet();
$sheet = $spreadsheet->getActiveSheet();
?>
/mnt/ext/opt/apache/bin/php composer.phar install not working.
i tried this but it returned error 500.
<?php
// Excel-bestand genereren
require_once 'vendor/autoload.php';
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
$spreadsheet = new Spreadsheet();
$sheet = $spreadsheet->getActiveSheet();
?>