Login   Register  
PHP Classes
elePHPant
Icontem

File: INSTALL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Luca Mariano  >  Thread  >  INSTALL  >  Download  
File: INSTALL
Role: Documentation
Content type: text/plain
Description: installation instructions
Class: Thread
A class to implement multi-threaded applications
Author: By
Last change: Configure instructions for PHP-CLI updated
Date: 2003-12-09 01:55
Size: 1,087 bytes
 

Contents

Class file image Download
----------------------------------------------------------
- Configuring the environment (Linux, any flavour)
----------------------------------------------------------
You need a copy of latest php source code (http://www.php.net),
php>4.2 should work fine.
Decompress the tar.gz archieve, then run the folloging commands:

sh>configure --enable-pcntl --enable-shmop --enable-cli --without-apache
--disable-cgi --enable-posix --enable-pcre
sh>make

Now you should found a copy of the php executable into the "sapi/cli"
directory (php4.3) or elsewhere into the source code tree (refer to PHP
documentation).

If you want, you can rename this file, this can be useful because this copy
of the php binary is specifically build to run multi-process applications.
It's not suitable for use with a webserver!

sh>mv php php-cli

----------------------------------------------------------
VERY IMPORTANT !!!
----------------------------------------------------------
Please notice that PCNTL extension does NOT run on windows,
due to the lack of system fork() command.