varspool / Wrench

A simple PHP WebSocket implementation for PHP 7.1
Do What The F*ck You Want To Public License
596 stars 210 forks source link

fail to run the example!!! php -q server_ssl.php #81

Closed samchen123 closed 8 years ago

samchen123 commented 8 years ago

Dear all: When I run the example(server_ssl.php) in Wrench project I got Warning: require(/home/demo/Wrench-master/examples/../../vendor/autoload.php)

Fatal error: require(): Failed opening required '/home/demo/Wrench-master/examples/../../vendor/autoload.php' (include_path='.:/opt/php/lib/php') in /home/demo/Wrench-master/examples/server_ssl.php on line 16

anybody know why......???? or where is the autoload.php thanks a lot

Kern046 commented 8 years ago

Do composer install.

You can get composer here : https://getcomposer.org/

This program will retrieve the project dependencies and initialize the autoload files.

It will solve your issue :) !

samchen123 commented 8 years ago

Great Thanks