Open Thematiqueslol opened 1 year ago
To add the choice of PHP version and PHP extensions to the startup menu of Pterodactyl, you would typically need to make modifications to the server configuration and the panel interface. Here are the general steps you can follow:
Check the Pterodactyl documentation: Start by referring to the official Pterodactyl documentation or the community resources to understand the server configuration and customization options available. Look for information related to adding PHP versions and extensions to the startup menu.
Configure PHP versions: Determine which PHP versions you want to make available for selection. Install those PHP versions on your server and ensure they are properly configured. This may involve installing different PHP versions alongside each other and configuring the necessary server environment variables.
Modify the panel interface: Access the Pterodactyl panel and navigate to the section where you can customize the server startup menu. This is typically done through the web interface or by modifying the panel's code directly. You'll need to add the necessary UI elements to allow users to select the desired PHP version and extensions.
Update server configuration: Modify the server configuration file or script to utilize the selected PHP version and extensions. This could involve specifying the appropriate PHP binary or configuring the server environment to load the necessary PHP extensions.
Test and deploy: After making the modifications, test the changes to ensure everything is working as expected. Deploy a server using the modified startup menu and verify that the selected PHP version and extensions are properly applied.
The specific steps and configuration files may vary depending on the version of Pterodactyl you are using and the server environment
ChatGPT...
😑
Hello,
Is it possible to add please on the startup menu of pterodactyl the choice of the version of php and which php extension to add.
I saw with one of node.js egg it is possible to choose which package to install and install automatically with npm.
Thank you.