PHP Erlang Bridge
C PHP Erlang
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
manual
tests
CREDITS
EXPERIMENTAL
INSTALL
LICENSE
README.md
config.m4
peb.c
php_peb.h

README.md

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

Installation

Run the following commands:

phpize
./configure --help
./configure
make
make install

Note

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 --with-erlanglib=LIB and --with-erlanginc=INCLUDE instead.

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/