Forum


Replies: 7   Views: 11520
You're not running openoffice in headless mode on port 8100
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 bruce  · 19-03-2014 - 12:27

hello



we purchased a pro+  license few days ago but we have a problem using the PDF conversion plugin.



when I run check.php, I got a  warning  'You're not running OpenOffice in headless mode on port 8100.



I have run the command  /opt/openoffice4/program/soffice -headless -accept="socket,host=localhost,port=8100;urp;"  -nofirststartwizard 



my centos version is 6.5 x86_64   and  I installed the 64-bit version of openoffice4 .   openoffice installed under the opt directory



I have done below, install glibc.i686, libstdc++.i686, xulrunner.i686



In that case you need to install some 32bits libraries to get this compatibility. If you’re using Debian or Ubuntu just install ia32-libs package; and if you’re using RedHat or CentOS install these packages: glibc.i686, libstdc++.i686, xulrunner.i686.



How to make openoffice run as headless mode , I have read http://www.phpdocx.com/help/conversion-plugin-docx-to-pdf



thanks



PHP_VERSION: 5.3.3

PHP_OS: Linux

PHP_UNAME: Linux kvm85 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64

CODE: 

SERVER_NAME: 192.168.0.87

SERVER_SOFTWARE: Apache/2.2.15 (CentOS)

SERVER_ADDR: 192.168.0.87

SERVER_PROTOCOL: HTTP/1.1

HTTP_HOST: 192.168.0.87

HTTP_X_FORWARDED_FOR: 

PHP_SELF: /phpdocx/check.php

XSLTProcessor: 1

ZipArchive: 1

DomDocument: 1

SimpleXMLElement: 1

Tidy: 1

IS_WRITABLE DEFAULT TEMP: 1