POV-Ray : Newsgroups : povray.unix : Need Help With Running POV-Ray Through PHP : Re: Need Help With Running POV-Ray Through PHP Server Time
18 May 2024 09:56:17 EDT (-0400)
  Re: Need Help With Running POV-Ray Through PHP  
From: Jess
Date: 13 Mar 2011 14:00:01
Message: <web.4d7d052c594502e27a0819aa0@news.povray.org>
> It's a matter of rights. I guess that jlb41 & apache are not in the same
> primary group either, so the directory /home/jlb41/public_html would
> need to be writable by other (and that might become a security/deface
> issue; you might want to play in a deeper sub-directory in production).
>
> First take note of the rights from "ls -ld /home/jlb41/public_html"
> then try "chmod 777 /home/jlb41/public_html"
> and try again php for system("date >new_test_file")

Here's what I got back from "chmod 777 /home/jlb41/public_html":

drwxr-xr-x. 11 jlb41 jlb41 4096 Mar 12 14:05 /home/jlb41/public_html

system("date >new_test_file") works through PHP now.

> If it works, then try povray.

I changed the file permissions for object.png to 666 and it works now! Thank you
so much for your help. I really appreciate it!


Post a reply to this message

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