LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   A PHP extension for asynchronous POSIX I/O (http://www.linuxquestions.org/questions/programming-9/a-php-extension-for-asynchronous-posix-i-o-908737/)

r.osmanov 10-18-2011 05:50 AM

A PHP extension for asynchronous POSIX I/O
 
Hello.

I've finished writing a PHP extension that provides interface to the libeio
library: http://pecl.php.net/package/eio(docs and samples included).

Maybe someone decides to test it. In any case, I'd really like to know your opinions.

--
UPDATE: To install both libeio and the extension perform the following

libeio:
Code:

$ touch ~/.cvspass
$ cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co libeio
$ cd libeio
$ ./autogen.sh
$ ./configure
$ make
$ su -
# make install

eio extension:
Code:

$ wget 'http://pecl.php.net/get/eio' -O eio.tgz
$ tar xzvf eio.tgz && cd eio-*
$ phpize
$ ./configure --with-eio # further optional parameters(--enable-eio-debug recommended for first use) ...
$ make && make test
$ su -
# make install

For latest installation instructions refer to http://docs.php.net/manual/en/eio.installation.php
--

--
UPDATE 2: Do you think an OOP API needed?
--

Regards.


All times are GMT -5. The time now is 10:08 AM.