POV-Ray : Newsgroups : povray.unix : Need Help With Running POV-Ray Through PHP : Re: Need Help With Running POV-Ray Through PHP Server Time
4 May 2024 18:44:39 EDT (-0400)
  Re: Need Help With Running POV-Ray Through PHP  
From: Jess
Date: 10 Mar 2011 16:30:00
Message: <web.4d7941ad594502e220f89e740@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:

> > I've tried using shell_exec(), exec(), and system() to render a test
> > file, but it doesn't seem to work from the test PHP webpage I'm
> > using. Oddly enough, it works when I run the PHP script through the
> > shell.
>
>    I've used it with shell_exec(), but IIRC, I had to call povray with
> the full path (/usr/local/bin/povray in my case).
>
>    Regards,
>
> --
> Jaime Vives Piqueres
>
> La Persistencia de la Ignorancia
> http://www.ignorancia.org

I tried using shell_exec('usr/bin/povray object.pov'), but it still doesn't
work.

Thanks for the suggestion, though.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.