On Thursday 05 April 2001 09:51, Igor Bogolyubov wrote:
> Hi everyone!
> Help me please. I need my Rtl Task started from PHP.
> How this do? The Commands of type EXEC() do not work.
> Sorry for my english.
(I'm assuming the problem is that you can't run 'insmod' directly from the
PHP server, as that would require the latter to have root permissions - which
would not be a very good idea...)
How about executing 'modprobe rtl_app_modules' or something like that? You'd
have to edit the modules.conf for modprobe to define which actual modules
'rtl_app_modules' should represent. Other possibilities might be running a
shell script with su root, or start it via sudo.
The advantages of these methods is that you have a lot more control than if
you'd trust PHP with permission to use insmod directly.
//David
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/