Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 14th, 2004, 12:43 PM
Registered User
 
Join Date: Aug 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default exec() hangs IIS and Apache

Hello:

I am trying to use exec() to perform a 'big' compilation via ANT but this seems to hang my IIS and also Apache Server.

Any help appreciated...

 
Old October 18th, 2004, 10:21 PM
Registered User
 
Join Date: Jun 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just a guess: have you tried shell_exec() ?

http://www.php.net/shell_exec

 
Old October 20th, 2004, 11:11 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You might need to actually exec a program that launches your compilation in the background.

Shell_exec is actually no help to you because shell_exec waits for the ENTIRE program output, so you're still blocked until compilation finishes.


Take care,

Nik
http://www.bigaction.org/





Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS 6.0 proxy to Apache Tomcat yongf6 BOOK: Professional Apache Tomcat 0 June 5th, 2006 01:05 PM
Ch. 17 & 19 Apache instead of IIS Kevin Tough VB.NET 2002/2003 Basics 0 October 3rd, 2005 01:29 AM
Can I run Apache and IIS on the same PC? thegooner BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 9 June 15th, 2005 05:45 AM
Switch from IIS/Windows to Apache/Redhat anshul Linux 1 April 26th, 2005 05:56 AM
Access Denied to: from apache to iis san2k .NET Web Services 0 June 11th, 2004 07:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.