Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Extension #50

Open
Thematiqueslol opened this issue Jun 20, 2023 · 3 comments
Open

PHP Extension #50

Thematiqueslol opened this issue Jun 20, 2023 · 3 comments

Comments

@Thematiqueslol
Copy link

Thematiqueslol commented Jun 20, 2023

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.

@Thematiqueslol Thematiqueslol changed the title PHP Extanssion PHP Extension Jun 20, 2023
@Nasir-Hussain-Datascientist

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

@finnie2006
Copy link
Collaborator

ChatGPT...

@Thematiqueslol
Copy link
Author

😑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants