> isolate what caused a problem when they arise.
>
> -nathan
>
Thanks for advice, I'll do hard test for this script and if it will stop working
I'll do as you just said.
Thank you guys for everything. It's really appreciated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Nathan Nobbe gmail.com> writes:
> if it works there, and not from the browser, id imagine its a permissions
> issue
Ok, I wrote simple script and run it from CLI.
It works. Then I've tried to run simple script from browser, it works too.
Then I thought it's some conflict of MySQL and Mencoder.
Nathan Nobbe gmail.com> writes:
> have you tried a trivial call to mencoder, like i suggested?
> it looks like you were passing a lot of parameters to it in the code you
> first
> posted. try starting out w/ something simple and get that working before
> going
> for the full blown finished versi
Jochem Maas iamjochem.com> writes:
>
> Apple schreef:
> > Still can't fix it. I've checked everything like 20-30 times, I feel
like crazy.
> > Everything should work fine, but it doesn't. :(
> >
> > If anyone have an idea about what it c
Nathan Nobbe gmail.com> writes:
> have you been trying to run the script from the cli, or from the browser?
> i would first try to run your php script from the cli; eg.
> php myMencoderScript.php
>
I've tried only to run it from browser.
I've just tried to run it from cli and I get error me
Richard Lynch l-i-e.com> writes:
> They also won't have your same environment, e.g., home directory $HOME.
>
> Check permissions on all files/directories.
>
> Use complete pathnames from the root hard drive:
> /home/apple/path/to/$outputFile
I do that. All permissions (files and directories) a
Still can't fix it. I've checked everything like 20-30 times, I feel like crazy.
Everything should work fine, but it doesn't. :(
If anyone have an idea about what it can be, please let me know.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown gmail.com> writes:
>
> On Jan 17, 2008 6:48 PM, Apple gmail.com> wrote:
> > Another strange thing is I run ImageMajick with system() in a lot
of scripts on
> > the same server and everything works fine.
> >
> > What is the problem? Do you
Daniel Brown gmail.com> writes:
> Does the UID (or at least GID) under which PHP is being executed
> have permissions to write to the area you're trying to save the file?
>
> Similar to above, does it have the correct permissions to read the
> incoming file?
Daniel, I'm not sure about U
ng is I run ImageMajick with system() in a lot of scripts on
the same server and everything works fine.
What is the problem? Do you have any idea?
>
> On Thu, January 17, 2008 6:46 am, Apple wrote:
> > Daniel Brown gmail.com> writes:
> >
> >>
Daniel Brown gmail.com> writes:
> Try replacing system() with die() and letting it print out the
> information full command string. That may give you an idea of a
> variable that's either incorrect or undefined. If you copy and paste
> it and run the command from the command line and it wor
Hello,
I'm trying to run mencoder command line utility to encode videos.
When I use these two command in terminal (through SSH), everything works fine.
But when I run them from PHP script with system command, it doesn't work.
The commands are:
First pass:
system("/usr/local
12 matches
Mail list logo