-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3da528
commit b6e02eb
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
# phode | |||
|
|||
php + libuv = win | |||
|
|||
## status | |||
|
|||
Very alpha. And not in the dominating male / leader of the pack sense. | |||
|
|||
## how to build | |||
|
|||
Make sure you have the PHP 5.4 header files installed somewhere. | |||
|
|||
$ cp local.gypi.example local.gypi | |||
$ vi local.gypi # update include paths | |||
$ tools/gyp/gyp -Dlibrary=shared_library | |||
$ make | |||
|
|||
Add the following line to your `php.ini`. | |||
|
|||
extension = /path/to/phode/out/Debug/obj.target/libphode.so | |||
|
|||
Now try out some of the examples in the `test/` directory. | |||
|
|||
$ php test/test-tcp-ping-pong.php | |||
Segmentation fault. | |||
|
|||
The beauty of open source! |