OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: esmith on September 24, 2004, 11:40:48 am

Title: php problem executing command in background
Post by: esmith on September 24, 2004, 11:40:48 am
I have a webserver (apache 1.3.27, php 4.2.3) running on my SL6000L, and I'm having trouble executing commands in the background.  When I execute a command in the background using any of the techniques from php.net, the current page loads, but the next page won't load (session_start() blocks until the background command is complete).

Any suggestions?

I've tried forking, calling scripts, session_write_close(), but nothing seems to work.

Thanks in advance, esmith
Title: php problem executing command in background
Post by: esmith on September 24, 2004, 12:12:05 pm
Solved the problem, it was a php thing.  I had to execute session_write_close() before starting the background application