FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to Prevent Apache Server From Hanging while running a batch file?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to Prevent Apache Server From Hanging while running a batch file? [message #179807 is a reply to message #179806] Fri, 07 December 2012 04:59 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 12/6/2012 11:53 PM, Fastian wrote:
> I am using xampp on Windows platform.I am running a batch file with exec() command from my php script. It works well when user gives correct input and batch file completes its execution properly. But if the user give some wrong input and batch file remains unable to complete its execution, apache server hangs. Then I have to restart the server.
>
> I want that the apache should not hang and it should not be dependent on the execution of the batch file. Just I should be able to correct my input instead of restarting the xampp.
>
> Can anyone help?
>

Fix your batch file so it completes execution whether or not the input
is correct.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Simpler way to validate form fields?
Next Topic: imap_open: Certificate Error, but only in PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Feb 20 09:12:25 GMT 2025

Total time taken to generate the page: 0.04026 seconds