Good idea. The output from rsvg with 2>&1 is "Error reading SVG:". I've tried using the full path to the SVG and even setting the permissions on the file to 777, but I still get the same error. I also tried putting the command in a shell script and executing the shell script from PHP, but it gives the same results: a zero byte PNG file.
Is PHP running within some kind of sandbox or do I need to change an ini setting perhaps to let it read files off the server. Sorry for all the newbie questions. Ryan Kaldari On Wed, Feb 17, 2010 at 12:02 PM, Nikola Smolenski <[email protected]>wrote: > Дана Wednesday 17 February 2010 17:49:26 Ryan Kaldari написа: > > I tried shell_exec() and exec() instead of system() and it gives the same > > resullt - a zero byte file with no error. Any idea why it would work from > > the command line but not from PHP? > > Could you try running any other command (say, 'ls') and see if there is > output? Could you try running rsvg with 2>&1 and see if there is output? > > _______________________________________________ > Toolserver-l mailing list ([email protected]) > https://lists.wikimedia.org/mailman/listinfo/toolserver-l > Posting guidelines for this list: > https://wiki.toolserver.org/view/Mailing_list_etiquette >
_______________________________________________ Toolserver-l mailing list ([email protected]) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
