You can clone with
HTTPS or Subversion.
Unpack the archive to destination folder or grub repository:
tar xzf phpdaemon*.tar.gz
git clone git://github.com/kakserpom/phpdaemon.git $path
Note that $path must be replaced with path you like to install phpDaemon.
chmod +x $path/bin/phpdaemon
Make sure that /usr/bin/php linked to PHP 5 CLI.
Make sure that PHP >= 5.3 compiled with ‘—enable-pcntl’ ‘—enable-shmop’ ‘—enable-sockets’.
For FreeBSD: make sure that PHP compiled with ‘—enable-ctype’.
pecl install libevent
ln -s $path/bin/phpdaemon /usr/bin/phpd
Now it should be running if no troubles hapenned.
We recommend to install ‘proctitle’ from PECL (this extension allows to set human-readable titles of processes).
We also recommend to install ‘runkit’ from PECL (you HAVE TO use unofficial package, official pecl version is very old and buggy). Compile PHP with ‘—enable-maintainer-zts’ (very important).
pecl install proctitle
Don’t forget to make sure that lines like “extension=proctitle.so” is added to your php.ini.