php-pear-PHP_Fork - PHP_Fork - Wrapper for pcntl_fork() with Java-like API

Distribution: ROSA 2014.1
Repository: ROSA Contrib x86_64
Package name: php-pear-PHP_Fork
Package version: 0.3.0
Package release: 12-rosa2014.1
Package architecture: noarch
Package type: rpm
Installed size: 51.62 KB
Download size: 16.77 KB
Official Mirror:
PHP_Fork class. Wrapper around the pcntl_fork() stuff with a API set like Java language. Practical usage is done by extending this class, and re-defining the run() method. This way PHP developers can enclose logic into a class that extends PHP_Fork, then execute the start() method that forks a child process. Communications with the forked process is ensured by using a Shared Memory Segment; by using a user-defined signal and this shared memory developers can access to child process methods that returns a serializable variable. The shared variable space can be accessed with the two methods: - void setVariable($name, $value) - mixed getVariable($name) $name must be a valid PHP variable name; $value must be a variable or a serializable object. Resources (db connections, streams, etc.) cannot be serialized and so they're not correctly handled. In PEAR status of this package is: beta.


  • php-pear-PHP_Fork == 0.3.0-12:2014.1

    Install Howto

    1. Enable ROSA Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install php-pear-PHP_Fork rpm package:
      # urpmi php-pear-PHP_Fork


    • /usr/share/doc/php-pear-PHP_Fork/
    • /usr/share/doc/php-pear-PHP_Fork/examples/basic.php
    • /usr/share/doc/php-pear-PHP_Fork/examples/browser_pool.php
    • /usr/share/doc/php-pear-PHP_Fork/examples/exec_methods.php
    • /usr/share/doc/php-pear-PHP_Fork/examples/passing_vars.php
    • /usr/share/doc/php-pear-PHP_Fork/examples/simple_controller.php
    • /usr/share/pear/PHP/Fork.php
    • /usr/share/pear/packages/PHP_Fork.xml


    2014-07-25 - Denis Silakov <> 0.3.0-12 + Revision: 3821030 - MassBuild#464: Increase release tag