Jump to content

apache do not respond after exec/shell_exec/system from PHP


de12261

Recommended Posts

Hi

 

i am a little frustrated...

 

I have XAMPP 1.6.7  (Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6) on Windows 2003 server (Windows NT SERVER01 5.2 build 3790).

 

There is a php page that do a system call (but i tried exec and shell_exec too)

that do an acroread32 to print a pdf.

The user can choose many file and then click print (10 file selected, 10 system call).

 

All is ok for about two day (i think 10 print click ), but after Apache hangs up,

do not respond anymore (the page is loading from other browser but if you click print then it do not respond and wait..wait wait...), I cannot kill the CMD.EXE processes (sons of apache.exe) ...

the only way I have to restore all is to restart Apache service.

 

I tried to give the administrator account to Apache Service;

tried to give Everyone (with full control) to cmd.exe today (because I read that can be usefull ) but I do not think that this will resolve the problem...

 

Any idea?

 

thank you very much

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.