mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Fixed issues and sockets
This commit is contained in:
parent
284daff67f
commit
38eed99789
2 changed files with 4 additions and 3 deletions
|
|
@ -62,6 +62,7 @@ cd ../
|
||||||
--with-mysql \
|
--with-mysql \
|
||||||
--with-mcrypt \
|
--with-mcrypt \
|
||||||
--with-zlib \
|
--with-zlib \
|
||||||
|
--enable-sockets \
|
||||||
--enable-pthreads \
|
--enable-pthreads \
|
||||||
--enable-maintainer-zts
|
--enable-maintainer-zts
|
||||||
make
|
make
|
||||||
|
|
@ -70,4 +71,4 @@ make install
|
||||||
cd $DIR
|
cd $DIR
|
||||||
rm -r -f install_data/
|
rm -r -f install_data/
|
||||||
rmdir install_data/
|
rmdir install_data/
|
||||||
cd php5
|
echo "[INFO] Compilation Completed!"
|
||||||
4
start.sh
4
start.sh
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
cd $DIR
|
cd $DIR
|
||||||
if [ -f php5/bin/php ] then
|
if [ -f php5/bin/php ]; then
|
||||||
php5/bin/php -d enable_dl=On PocketMine-MP.php
|
./php5/bin/php -d enable_dl=On PocketMine-MP.php
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
php -d enable_dl=On PocketMine-MP.php
|
php -d enable_dl=On PocketMine-MP.php
|
||||||
Loading…
Add table
Add a link
Reference in a new issue