Author Topic: php problem executing command in background  (Read 1649 times)

esmith

  • Newbie
  • *
  • Posts: 4
    • View Profile
php problem executing command in background
« 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

esmith

  • Newbie
  • *
  • Posts: 4
    • View Profile
php problem executing command in background
« Reply #1 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