PEMapModder / PocketMine-Wrapper

Simple PHP script for controlling the lifecycle of PocketMine servers
GNU Lesser General Public License v3.0
11 stars 1 forks source link

class Thread doesn't exist #2

Closed Creeperface01 closed 8 years ago

Creeperface01 commented 8 years ago

PHP Fatal error: Class 'Thread' not found in /home/matej/minetox/php/functions.php on line 14

PEMapModder commented 8 years ago

Use PHP binaries with pthreads extension. You can use the PocketMine PHP binaries for this if you aren't sure how to install pthreads into your default PHP binaries.

Creeperface01 commented 8 years ago

Si what yould i run? (ubuntu) i ran php path

PEMapModder commented 8 years ago

Use the PHP path for an installed PocketMine version of binaries. This script starts a server process using the same PHP binaries as the one it is launched with (PHP_BINARY)