pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.65k stars 1.68k forks source link

Error: Command failed: php senja.php /bin/sh: 1: php: not found #4957

Closed RyuGameDev closed 4 months ago

RyuGameDev commented 9 months ago

I use node js to execute javascript via pterodactyl when I exec php with child process there is an Error: Command failed: php senja.php /bin/sh: 1: php: not found Even though I have installed PHP on my VPS, am I configuring Egg wrong? Here is the Egg file https://pastelink.net/hpsdfrvt Please help me to correct it. Screenshot_20231229-121838 ![Uploading LongScreenshot_20231229-122726.png…]()

QuintenQVD0 commented 9 months ago

You are in a docker container. So it does not care about the host os pacakges. So build your own custom docker image. And Webhosting is not supported!

RyuGameDev commented 9 months ago

So what should i do? do i have to edit egg? how to edit it? can you teach me? i am sorry i am still a beginner

QuintenQVD0 commented 9 months ago

So what should i do? do i have to edit egg? how to edit it? can you teach me? i am sorry i am still a beginner

Not the place. You need a custom docker image what is not supported. You can try the discord but you will be turn away as it is not supported. Not a bug in the Software.