将docx文件转换为php中的字符串

I am using answer of this question to convert docx to text file

How to extract text from word file .doc,docx,.xlsx,.pptx php

but it returns false beacause value of $zip is 11. as I undestood 11 means it can not open file. I use a url like this as $filename.

http://saha.com/wp-content/uploads/2/4/7/2016/07/test.docx

Could be it wrong ?

I tested it local and it works correctly with same url but when I use in wordpress as plugin I get error .