Php Extension

Sep 28, 2010 at 11:47 AM

Anyone know where to get this two files & make it working?

Files Required:

1) PHP Extension ZipArchive

2) PHP Extension xmllib


Thank you very much. =)

Oct 17, 2010 at 11:08 PM

I have some problem :(

Fatal error: Class 'ZipArchive' not found in .../phpword/PHPWord/Writer/Word2007.php on line 70

help please.

Oct 18, 2010 at 12:41 AM

try enable this in your php.ini file by remove ";"


Oct 18, 2010 at 4:28 AM

in windows


in linux

install  modulo zip de php and recompiler the server

Dec 2, 2010 at 6:03 AM
Edited Dec 2, 2010 at 9:51 PM

Hosted services, even the big ones, don't always include ZipArchive in their PHP compilation. Dreamhost, for instance, does not want to compile it into their PHP. They allow you to compile your own PHP (pretty unique), but that creates a whole big can of worms of maintenance, of course.

That makes PHPWord pretty much unusable, it seems, since it - according to the documentation - only can use 'docx' templates, etc, which rely on zip-action for native support of that format. In PHPExcel, it's still possible to use the original 'xls' format, so you can bypass that hurdle, but apparently PHPword can't.

Or does it still support the older 'doc' format. that doesn't rely on ZipArchive?  It would open up the tool for loads of people that use hosted solutions (a good sized target group I would imagine).