Forum


Replies: 1   Views: 2652
Performance linux vs windows
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Brck  · 01-10-2018 - 09:26

Hi,

I'm generating a docx file of about 40-50 pages (basically from scratch as the template only contains styles).

When doing this in Linux (LAMP server), it takes about 4-5 seconds which is absolutely fine. However, in Windows (WAMP server) it takes about 25-30 seconds. Same code, same content to docx.

Is there possibly some setting, or could it just be underlying differences between the systems? 

Any idea?

Best regards,

B

 

Posted by admin  · 01-10-2018 - 11:15

Hello,

The same code runs using Windows, Linux, macOS and any other PHP platform. phpdocx doesn't include OS exceptions but when using the conversion plugin (to get the correct OS paths).

We recommend you to compare the server specifications, PHP versions, op-code extensions, special configurations and other set-ups, and also test it using PHP CLI mode. The performance issue must be in the server or web set-up/specifications.

Regards.