Replies: 4   Views: 4392
Passthru() has been disabled for security reasons
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by unicorn  · 01-10-2013 - 08:37

I just purchesed the pro+ and trying to convert an existing docx file to pdf, but I get a php error:

passthru() has been disabled for security reasons on ...

I'm not an expert on server configurations and I'm preety sure I'm limited in what I can modify

is there anyway I can solve it without dive into my server configurations?


Posted by admin-phpdocx  · 01-10-2013 - 09:08


If you can use exec or system functions you may replace passthru in file classes/ file.


Posted by unicorn  · 01-10-2013 - 09:53

I can't

Posted by admin-phpdocx  · 01-10-2013 - 15:59


Then you'll need to change your server to run external apps wiith PHP. Or create the documents and then transform them using a cron.