Post Reply 
minimserver cli issue with php on synology
24-08-2025, 17:24
Post: #4
RE: minimserver cli issue with php on synology
The following is working for me:

/usr/bin/php somefile

where somefile contains the following:

<?php
shell_exec("/var/packages/MinimServer/target/bin/mscript -c rescan");
?>

If you want to see output from the rescan command, use the following:

<?php
system("/var/packages/MinimServer/target/bin/mscript -c rescan");
?>
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: minimserver cli issue with php on synology - simoncn - 24-08-2025 17:24

Forum Jump:


User(s) browsing this thread: 1 Guest(s)