Problem with linux command line
Posted: Fri Jun 09, 2006 9:15 am
feyd | Please use
it runs and shows the functions of the ffmpeg in the command prompt.
my problem is
i have to run this command thro' php.
ex:
there was no o/p for the above coding.
after this process i have opened the log file for the server.
i have seen this line at the last
but it is not run thro' php.
any body knows abt this problem plz help me to solve...
is there any environment variable to set classpath for php like JAVA.
I am waiting for your greatest reply.
Thanks & Regards,
Inigo Nirmal
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hai friends,
Plz solve my query if anybody knows.
i need to run command line statements(some external commands) in linux thro' php.Code: Select all
ex: ffmpegmy problem is
i have to run this command thro' php.
ex:
Code: Select all
<?php
$res = shell_exec("ffmpeg");
echo $res;
?>there was no o/p for the above coding.
after this process i have opened the log file for the server.
i have seen this line at the last
In the same directory where the php file presents, i have run the above command in the command prompt.ffmpeg: Not Found
but it is not run thro' php.
any body knows abt this problem plz help me to solve...
is there any environment variable to set classpath for php like JAVA.
I am waiting for your greatest reply.
Thanks & Regards,
Inigo Nirmal
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]