From 38eed99789f481771a6c4a76f86b52117353129b Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Fri, 4 Jan 2013 16:04:06 +0100 Subject: [PATCH] Fixed issues and sockets --- compile_php.sh | 3 ++- start.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/compile_php.sh b/compile_php.sh index d08fb34b5..a118a4752 100644 --- a/compile_php.sh +++ b/compile_php.sh @@ -62,6 +62,7 @@ cd ../ --with-mysql \ --with-mcrypt \ --with-zlib \ +--enable-sockets \ --enable-pthreads \ --enable-maintainer-zts make @@ -70,4 +71,4 @@ make install cd $DIR rm -r -f install_data/ rmdir install_data/ -cd php5 \ No newline at end of file +echo "[INFO] Compilation Completed!" \ No newline at end of file diff --git a/start.sh b/start.sh index 1e918a675..70de19e89 100644 --- a/start.sh +++ b/start.sh @@ -1,8 +1,8 @@ #!/bin/bash DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR -if [ -f php5/bin/php ] then -php5/bin/php -d enable_dl=On PocketMine-MP.php +if [ -f php5/bin/php ]; then +./php5/bin/php -d enable_dl=On PocketMine-MP.php exit 0 fi php -d enable_dl=On PocketMine-MP.php \ No newline at end of file