Page 1 of 1

Using Ms Word in PHP

Posted: Tue Jul 29, 2014 10:19 am
by Halim
Hi,

I need help on installing and configuring COM("word.application") in order to use Ms Word file in PHP. I'm using PHP version 5.3

I am trying to open and edit Ms Word file in PHP.
I have added below configuration in my php.ini file in my local xampp folder.

[COM_DOT_NET]
extension=php_com_dotnet.dll

It works well in localhost environment but when I uploaded my code php files online in cpanel. It couldnt seem to recognize COM("word.application) thus couldnt open the Ms Word file. I have uploaded PHP.ini but still not working ? Have I missed anything ? Please kindly advise.

Thanks!


Regards,
Halim

Re: Using Ms Word in PHP

Posted: Tue Jul 29, 2014 10:26 am
by Weirdan
COM is a Windows-specific extension, whereas cPanel is usually used on Linux hosts.