Today i try to update pmmp 1.2 After dolwoad and upload PHP7.2 and .phar PHP: https://jenkins.pmmp.io/job/PHP-7.2-Linux-x86_64/ phar: https://jenkins.pmmp.io/job/PocketMine-MP/65/ When i make ./start.sh console say that ⬇
Don't tun PocketMine as root, never run any program as root unless you have to. About that problem though: Code: chmod +x start.sh A simple Google search would've brought you to a similar result too
It's supposed to not output anything, but it works. (you can put -v at the end if you want to see the verbose process)
Yes, what @HimbeersaftLP mentioned is correct, never run anything as root as it gives all permissions which it shouldn't ask for in your VPS.
Console say: root@taslor:/home/Arma# chmod +x start.sh -v mode of 'start.sh' retained as 0755 (rwxr-xr-x)
You have to understand file permissions. You have a 755 permission there. So... Code: 7=rwx 5=r-x 5=r-x This means that the directory has the default permissions -rwxr-xr-x (represented in octal notation as 0755).
You probably didn't get why all the r's etc are there let me give you a short intro into file permissions... There are three types of access restrictions: Code: Permission Action chmod option ====================================== read (view) r or 4 write (edit) w or 2 execute (execute) x or 1 There are also three types of user restrictions: Code: User ls output ================== owner -rwx------ group ----rwx--- other -------rwx Folder/Directory Permissions Code: Permission Action chmod option =============================================================== read (view contents: i.e., ls command) r or 4 write (create or remove files from dir) w or 2 execute (cd into directory) x or 1 Numeric Notation.. This notation consists of at least three digits. Each of the three rightmost digits represents a different component of the permissions: owner, group, and others. Eg: Like what you got. Code: Symbolic Notation Octal Notation English ============================================================ ---------- 0000 no permissions ---x--x--x 0111 execute --w--w--w- 0222 write --wx-wx-wx 0333 write & execute -r--r--r-- 0444 read -r-xr-xr-x 0555 read & execute -rw-rw-rw- 0666 read & write -rwxrwxrwx 0777 read. write & execute
After réinstalle PHP 7.2 console say root@taslor:/home/arma# ./start.sh ./bin/php7/bin/php: error while loading shared libraries: /home/arma/bin/php7/bin/../lib/libz.so.1: file too short
The Linux installation using Composer (Source Code Version) or normal .phar installation from Jenkins should be pretty straightforward. I don't know why you are struggling. Can you try to start everything clean? Like delete the existing PMMP Files and then clone it back from GitHub?
Now its solved Code: Download the latest 7.2 php tar.gz here: https://jenkins.pmmp.io/job/PHP-7.2-Linux-x86_64/12/, and put it in the server root in the same directory as the plugins folder and stuff. 2. Open your console screen and execute the command rm -r bin 3. Enter the following command: tar -xvzf PHP_Linux-x86_64.tar.gz It should create a new bin folder. 4. Download the latest phar file from here: https://jenkins.pmmp.io/job/PocketMine-MP/ and replace the current PocketMine-MP.phar file with it. 5. Execute the command: bin/php7/bin/php bin/composer.phar install to initialize the composer. 6. Turn on the server and voila. Be careful that all plugins will break. Thx for the help ^~^