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

Installing required packages through wizards #22

Open
crabest opened this issue Sep 8, 2021 · 4 comments
Open

Installing required packages through wizards #22

crabest opened this issue Sep 8, 2021 · 4 comments

Comments

@crabest
Copy link

crabest commented Sep 8, 2021

Hello,
I wanna know if there is a way to installing packages and extensions through MODS, like in the picture bellow, WordPress package checked if there is Apache HTTP Server 2.2, if not, it will install it after you click yes.
And I am just wondering if I can do this with MODS

image

@crabest
Copy link
Author

crabest commented Sep 8, 2021

I found how, it's from the button Dependencies
image
image

Now I have another questions, after it install the required packages, I want to activate some PHP extensions automatically. if there is any idea how

@crabest
Copy link
Author

crabest commented Sep 10, 2021

about how can I active the required extensions I did it by shell script, thanks to https://community.synology.com/enu/forum/14/post/124567 , but I still dont know if that's possible with Mods.

@vletroye
Copy link
Owner

vletroye commented Sep 12, 2021

You have to add theses scripts into one of the installation scripts of your package.
E.g., via the menu Edit > Post-Install Script

image

@crabest
Copy link
Author

crabest commented Sep 12, 2021

yes thank you very much!
and I want also to ask you about the conf (workers) PHP INI, how can I use it.

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

2 participants