[GH-ISSUE #152] Mini admin PHP without forever to start peerflix all time (you can launch multiple instances) #127

Open
opened 2026-02-25 20:32:30 +03:00 by kerem · 3 comments
Owner

Originally created by @Smax2k on GitHub (Sep 9, 2018).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/152

Hello,

I love Peerflix-server but forever not working for me.

I create a mini admin with PHP, you need to install apache2 and php7.

fdgdgdf

In /var/www/html add this files :

mini-admin-peerflix-server.zip

  • index.php (you can define a rand port)
  • admin.php (Be very careful is not secure)
  • pkill.php (Be very careful is not secure)
  • list.txt (is a empty file, php save port and pid for kill the processus if you need)
Originally created by @Smax2k on GitHub (Sep 9, 2018). Original GitHub issue: https://github.com/asapach/peerflix-server/issues/152 Hello, I love Peerflix-server but forever not working for me. I create a mini admin with PHP, you need to install apache2 and php7. ![fdgdgdf](https://user-images.githubusercontent.com/18035534/45266627-57eee680-b45e-11e8-8be2-97da4ca5ac40.jpg) In /var/www/html add this files : [mini-admin-peerflix-server.zip](https://github.com/asapach/peerflix-server/files/2364429/mini-admin-peerflix-server.zip) - index.php (you can define a rand port) - admin.php (Be very careful is not secure) - pkill.php (Be very careful is not secure) - list.txt (is a empty file, php save port and pid for kill the processus if you need)
Author
Owner

@Smax2k commented on GitHub (Sep 9, 2018):

You can use "screen" for run peerflix-server in background too.

<!-- gh-comment-id:419732794 --> @Smax2k commented on GitHub (Sep 9, 2018): You can use "screen" for run peerflix-server in background too.
Author
Owner

@asapach commented on GitHub (Sep 9, 2018):

You could probably publish this as a project on GitHub rather than a zip file. Somebody might find it useful.

<!-- gh-comment-id:419745876 --> @asapach commented on GitHub (Sep 9, 2018): You could probably publish this as a project on GitHub rather than a zip file. Somebody might find it useful.
Author
Owner

@Smax2k commented on GitHub (Sep 9, 2018):

Yes ok, you can run multiple instances and ports (the port is check if it already exists), but that's work only with the default User / Group of apache2 (i have no test with nginx). I have tested with a custom user and group but is not working, i dont no why (when I click on the file i have an error).

<!-- gh-comment-id:419749175 --> @Smax2k commented on GitHub (Sep 9, 2018): Yes ok, you can run multiple instances and ports (the port is check if it already exists), but that's work only with the default User / Group of apache2 (i have no test with nginx). I have tested with a custom user and group but is not working, i dont no why (when I click on the file i have an error).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/peerflix-server#127
No description provided.