Home>

Thanks for your attention.

Previous questions
I solved the problem that LibreOffice did not work well for the question I asked here before
When I uploaded to the production server, the command was not executed and was not converted to PDF.
The source is the same except where the directory is specified.
The contents of dd () when executing the command are listed below.
Also, LibreOfficePortable folders and files under "/ install" were uploaded to the server with FTP software.
Thank you.

// Production
"/ home/[domain name]/www/[project name] /storage/install/LibreOfficePortable/App/libreoffice/program/soffice.exe --headless --convert-to pdf --outdir/home/[domain name]/www/[project name]/public/home/[domain name]/www/[project name] /public/sample.xlsx ◀ "
//development of
"C: \ xampp \ htdocs \ aaa \ storage \ install/LibreOfficePortable/App/libreoffice/program/soffice.exe --headless --convert-to pdf --outdir C: \ xampp \ htdocs \ aaa \ public C: \ xampp \ htdocs \ aaa \ public/sample.xlsx ◀ "
  • Answer # 1

    If the rental server is not a Windows OS,
    It will be necessary to install LibreOffice on the server using an appropriate installation method.

    For example, search for "LibreOffice CentOS7".
    You may find articles installed on CentOS7 series.

    Cannot install software on the server
    Just upload html/css/js/image files etc.
    In shared rental server
    Probably not feasible.

    VPS/dedicated server etc.
    If you can act as the server administrator (root),
    You can add missing software by adding software yourself.