Hi all,
today I was working on converting (not only) Microsoft Office documents to PDF using PHP COM libraries talking to OpenOffice (that I’ve tried setting up as a Windows service)… No joy.
I can get it running using command line (running as a local user with appropriate priviliges), running it as IUSR doesn’t seem to be working form me. I have read tons of articles on the OOo forum, PHP websites, other people’s tutorials to setting the whole thing up: no one seems to have achieved this on Vista or Windows 2008, which are the systems we use to develop/deploy/test…
We are running the latest ditribution of PHP (5.2.5), Windows 2008 (32-bit)/Vista SP 1, latest distribution of Open Office (2.4), have full control over our server (dedicated, not shared, our environment, our settings, our php.ini…) and still struggle.
As well as asking for your help I’d like to promise to keep you updated on this and if we do manage to solve it (or if you do get in touch and we get it done) we’ll post the solution. For now it is an open bug for which we’re using a nasty workaround none of us is happy with.
Happy PDF!