path to ghostscript and unoconv not working though they are there

Re: path to ghostscript and unoconv not working though they are there

by Charles Krengel eLearn Solutions -
Number of replies: 3

With Cloud Linux be aware that disabled_functions in PHP is set to block exec which is needed for Ghostscript to run and Annotate PDF to work.

To address this issue go to server multiPHP manager and edit the PHP-FPM for that site.

Edit PHP INI Directives and remove exec from the Disabled functions

Hope this saves someone time!

Attachment CloudLinuxDisabledFunctions.png
Average of ratings: Useful (2)
In reply to Charles Krengel eLearn Solutions

Re: path to ghostscript and unoconv not working though they are there

by Fernando Araoz -
Para MOODLE 3,8 no resuelve el problema.
In reply to Fernando Araoz

Re: path to ghostscript and unoconv not working though they are there

by Juan Gomez -

If you are using a system like control panel or ISPConfig that manager that give  access to moodle path you need to put in the PHP open_basedir the path to this directory:

something like this:




Average of ratings: Useful (1)
In reply to Charles Krengel eLearn Solutions

Re: path to ghostscript and unoconv not working though they are there

by Luke Clark -

This was exactly what I needed to fix the ghostscript issue. Thank you!