Mods icon indicating copy to clipboard operation
Mods copied to clipboard

Installing required packages through wizards

Open crabest opened this issue 3 years ago • 4 comments

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 avatar Sep 08 '21 09:09 crabest

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 avatar Sep 08 '21 14:09 crabest

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.

crabest avatar Sep 10 '21 16:09 crabest

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

vletroye avatar Sep 12 '21 08:09 vletroye

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

crabest avatar Sep 12 '21 21:09 crabest