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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.