Setup & Requirements
Check whether all required components are properly installed and configured.
PHP Version ≥ 8.1
PHP 8.2.33
PHP extension: gd
Loaded
PHP extension: zip
Loaded
PHP extension: mbstring
Loaded
PHP extension: json
Loaded
PHP extension: fileinfo
Loaded
PHP extension: openssl
Loaded
Directory writable: uploads/
Writable
Directory writable: processed/
Writable
upload_max_filesize ≥ 50MB
100M
LibreOffice (for Office conversions) Optional
Not found at C:\Program Files\LibreOffice\program\soffice.exe
Ghostscript (for PDF compress/protect/image) Optional
Not found at C:\Program Files\gs\gs10.02.1\bin\gswin64c.exe
Composer dependencies (FPDI, PhpSpreadsheet…) Optional
vendor/autoload.php found
All required checks passed! OfficeUtils is ready.
Installation Guide
- Download from libreoffice.org
- Install to the default path:
C:\Program Files\LibreOffice\ - Verify the path in
includes/config.php→LIBREOFFICE_PATH - Ensure the WAMP PHP process has execute permissions.
- Download from ghostscript.com
- Install the 64-bit version.
- Update
GHOSTSCRIPT_PATHinincludes/config.phpto match your version, e.g.:C:\Program Files\gs\gs10.02.1\bin\gswin64c.exe
- Install Composer if not already installed.
- Open a terminal in the project root.
- Run:
composer install - This installs: FPDI (PDF manipulation), PhpSpreadsheet (Excel/CSV), PhpWord, mPDF (HTML→PDF), QR Code.
cd C:\wamp64\www\OfficeUtilities_July_Build_ composer install
Edit your WAMP php.ini and ensure:
upload_max_filesize = 100M post_max_size = 110M max_execution_time = 120 memory_limit = 512M extension=gd extension=zip extension=mbstring extension=fileinfo
Restart WAMP after making changes.