Using Ms Word in PHP

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Halim
Forum Newbie
Posts: 1
Joined: Tue Jul 29, 2014 10:16 am

Using Ms Word in PHP

Post 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
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: Using Ms Word in PHP

Post by Weirdan »

COM is a Windows-specific extension, whereas cPanel is usually used on Linux hosts.
Post Reply