MyPeb: PHP Erlang Bridge
This project is a fork of http://code.google.com/p/mypeb/. All future development and bug fixes will happeen in this github repository.
PEB (Php-Erlang Bridge) is an open-source php extension to run php as an Erlang cnode.
Checkout our website for complete manual http://mypeb.googlecode.com
Run the following commands:
phpize ./configure --help ./configure make make install
You can specify the location of both Erlang interface libraries and Erlang interface header files by using
--with-erlang=DIR. The configure script will look for libraries and headers in DIR/lib and DIR/include respectively. In case libraries and headers do not share a common parent directory, use
For example with a default installation of Erlang from the
ESL Erlang Packages on a Mac you can run
configure like this:
./configure --with-erlanglib=/usr/local/lib/erlang/lib/erl_interface-3.7.11/lib/ --with-erlanginc=/usr/local/lib/erlang/lib/erl_interface-3.7.11/include/