Standouthost / Multicraft

Open Source Multicraft Scripts
GNU General Public License v3.0
44 stars 53 forks source link

Parsing the Steam Games for online status and PocketMine with PHP 5.6... :( #4

Closed TheWebGamer closed 9 years ago

TheWebGamer commented 9 years ago

Sorry for being mostly AFK this last week. I am back home from the hospital again and I am frantically trying to get caught up with emails, support tickets, server upgrades and expansions.

This week I will have all the online parsing done for the Steam Games and get the new conf updates ready for github.

I am still irked that Pocketmine choose to develop and force server requirements to run bleeding edge PHP 5.6. I have halted any development in supporting Pocketmine above I think it was #411 until I can get my Centos running 5.6 which I will not be doing on any of my main machines. I may try for a dedicated server for only PocketMine Servers.

Bill Sr., Owner True World Gaming

Jmainguy commented 9 years ago

Pocketmine compiles PHP for you and places it inside the Pocketmine dir, so you shouldn't need to do anything else.

Install the dependencies needed to compile. You may have to install perl gcc g++ make automake libtool autoconf m4. If you want to compile from x86_64, you might have to install gcc-multilib.

Navigate where you want to install/update PocketMine-MP.

Run the following code. It will download PocketMine-MP, download the PHP binaries or compile it if binaries are not available.

$ wget -q -O - http://get.pocketmine.net/ | bash

Run this in a tmp dir, confirm it looks good, then move it to your jar/ dir.

godleydemon commented 9 years ago

Yeah I can't upgrade past 5.4 currently with my setup. To many people are still using that version of PHP, like Boxbilling -.-. We're supposed to be seeing an upgrade for that soon, but who the hell knows when that's going to happen. I'll try your fix here Jmainguy and let you know if she's good to go.

TheWebGamer commented 9 years ago

Thanks for the heads up Jmainguy. I just started following godleydeamon on Twtter and Gitgub. For a place to dump all of our supporting zips that will not fit on github I have added http://multicraft.twghost.com and will be passing full root access to that account to Jmainguy in his G+ today.

Looking forward to being able to support the newer versions of PocketMiner. But I can not wrap my head around why they started using 5.6 which is still bleeding edge. Also our recompile would get around this even if there are 5.6 dependencies and we are still on 5.something less?

Jmainguy commented 9 years ago

So your compiling it direct into a specific directory, the rest of your server is unaware of this directory, and will be using the old php for everything. If you place this in jar/ and use the .phar.conf provided, only this one application will use the new php. So you will have both php's installed on your system, one globally installed, and one installed basically just for this one app.

TheWebGamer commented 9 years ago

You know, I never knew we could do that... I am thinking back to a dozen times over the past 10+ years where that would have come in quite handy. O.o

TheWebGamer commented 9 years ago

Attack of the BTeam.zip update: http://multicraft.twghost.com/multicraft/multicraft-master-plus-zips/jar/BTeam.zip

Jmainguy commented 9 years ago

Nice. Closing this issue now as its not the best place to track this stuff. I will add a note in github redirecting to the zip downloads.