If your documents include images using OpenOffice, this is definitely a good solution. Check out PyODConverter if you want to try this.
If this is plain text, you might consider using a simpler solution such as PHPDocx, unoconv, AbiWord, or LiveDocx.
I used OOo in the past to do this (and still use Odt to Pdf to convert files) and it works fine. :) I have only one problem, but it has already been resolved. You can check it out here: Docx to pdf using openoffice headless way too slow
EDIT:
I created a bash script "/etc/init.d/openoffice" to run openoffice with the correct parameters. File contents:
#!/bin/bash
OOo_HOME=/usr/lib/openoffice
SOFFICE_PATH=$OOo_HOME/program/soffice
if [ "$1" == "start" ]; then
echo "Starting OpenOffice headless server"
$SOFFICE_PATH --headless --accept="pipe,name=beubi_OOffice;urp;StarOffice.ServiceManager" --invisible --norestore --nodefault --nolockcheck --nofirstwizard
exit
fi
if [ "$1" == "stop" ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice.bin && killall -9 soffice
exit
fi
echo "Usage: $0 {start|stop}"
exit 1
, .