Re: Re: Still can't fix it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 19, 2008 12:29 PM, Apple7777 <applepro7777@xxxxxxxxx> wrote:

> I've tried only to run it from browser.
>
> I've just tried to run it from cli and I get error message:
>
> Fatal error: Call to undefined function mysql_connect() in
> /home/re/videoEncode.php on line 3
>

likely that was breaking it from the browser as well.
im surprised you werent seeing that from the browser; you may
have error output suppressed from the webserver context.  just for
testing, from the browser (when you get to that point), you can set
the error output dynamically, like this
ini_set('error_reporting', 'E_ALL');
ini_set('display_errors', 'On');

It seems CLI version doesn't use mysql (non cli PHP compiled with
> mysql built-in).
>
> I will write simplier script without using mysql.
>
> > you can find out what they are on your system by issuing;
> > ls -l `which mencoder`
> >
>
> It outputs:
> -rwxr-xr-x 1 root root 8097152 Jan 13 20:46 /usr/local/bin/mencoder


so it looks like you will be able to invoke the mencoder binary as the
webserver
user.  that can be crossed off the list of problems.
you will also need to ensure the directory where you intend to store the
file you
create is writeable by the web server user as well.

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux