PHP Classes

Error coming Apache Server stopped working

Recommend this page to a friend!

      PHP PDF to Text  >  All threads  >  Error coming Apache Server stopped...  >  (Un) Subscribe thread alerts  
Subject:Error coming Apache Server stopped...
Summary:When I tried to parse my CV, it is 5 pages, 639 KB
Messages:14
Author:Shyjo
Date:2017-03-02 03:13:16
 
  1 - 10   11 - 14  

  11. Re: Error coming Apache Server stopped...   Reply   Report abuse  
Picture of Shyjo Shyjo - 2017-03-09 01:53:09 - In reply to message 10 from Shyjo
Hi Christian,

thanks for your updates, have you added any fixes for missing pages/content in the pdf we discussed before.

thanks
Mathew

  12. Re: Error coming Apache Server stopped...   Reply   Report abuse  
Picture of Christian Vigh Christian Vigh - 2017-03-09 02:13:20 - In reply to message 11 from Shyjo
Not yet, this will require some time to me, so be a little bit patient...

  13. Re: Error coming Apache Server stopped...   Reply   Report abuse  
Picture of Shyjo Shyjo - 2017-03-09 02:36:46 - In reply to message 12 from Christian Vigh
Thanks!

  14. Re: Error coming Apache Server stopped...   Reply   Report abuse  
Picture of Christian Vigh Christian Vigh - 2017-03-09 12:18:40 - In reply to message 10 from Shyjo
I may have found what makes your Apache server crash.

On Unix platforms, the stack size for threads is 8Mb ; on Windows, it is only 1Mb.

Since my class heavily relies on regular expressions, this can make this limit of 1Mb to be insufficient and cause Apache to crash.

You will have to enable the Apache mpm module in your httpd.conf file to be able to set a new maximum stack size :

Include conf/extra/httpd-mpm.conf
ThreadStackSize 8388608

This should fix your issue.

Christian.

 
  1 - 10   11 - 14