Archive for February, 2007

Tutorial: Cross-platform background process forking without extensions in PHP

February 9, 2007 Leave a comment

There are plenty of ways to fork new processes in PHP. You can use shell functions like exec() or shell(), the pcntl_* function set in the Process Control extension or stream/filesystem functions such as popen(). In this article, we’re going to look at the latter of these, and learn:

  • How to make it work on both Windows and Linux
  • How to make the forked process run in the background
  • How to communicate with the forked process
  • How to fork more than one process
  • How to cleanly terminate the forked process from the parent script Read more…

Tutorial: How To Fix WMI Corruption

February 3, 2007 22 comments

You might not know what WMI is, and you probably don’t care. This article is for those of you who have applications that aren’t working properly or programs or updates that won’t install because of WMI problems. Read more…

Solving MSI Errors: When Installers and Updates Go Wrong

February 2, 2007 2 comments

This article is for anyone who has ever tried to install a program or critical update/hotfix on Windows and come up against an error which prevented the installation from completing successfully. Read more…

%d bloggers like this: