Forum


Replies: 9   Views: 5915
Transform.php docx to pdf
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 willow  · 28-05-2014 - 17:48

Acabo de probarlo, ahora no me muestra error en el fichero "error.log" pero sigue sin generarme el archivo .PDF



$dir_tmp ='/tmp'; $dir ='/tmp'; $fichero = 'fichero.pdf'; $doc_tmp = 'documento';



$docx->createDocx($dir_tmp.$doc_tmp);



$docx->transformDocx($dir_tmp.$doc_tmp.'.docx', $dir.$fichero, null, array('method' => 'script'));



Selinux lo tengo desactivado.



¿cúales son los permisos que tengo que tener?



El archivo "/var/www/includes/PHPdocx/lib/OdfConverter/64/OdfConverter" tiene permiso 755 para el usuario "apache" y grupo "root"...



¿Alguna sugerencia?



Muchas gracias.



Saludos.