A simple pure PHP 7 web server.
This is no longer being worked on or maintained. The idea was to get minimal experience working with pthreads on windows and linux as well as working with php sockets on both windows and linux using pure php.
- Make sure you are using the thread safe version of PHP 7+
- Make sure pthreads is installed
- Make sure sockets are enabled (add
php_sockets
extension tophp.ini
) cd
to the root directory of the project and runphp init.php
to start the server
- Make sure you are using the thread safe version of PHP 7+
- Make sure pthreads is installed
- Make sure sockets are enabled (add
php_sockets
extension tophp.ini
) cd
to the tests directory of the project and runphp phpunit.phar