|
|
Le 12/03/2011 20:18, Jess nous fit lire :
> This is pid 10972
> Run as user 1547 (effective 1547)
> The current directory is : /home/jlb41/public_html
> And the output from PHP:
> Hello, world
> arg 0 : "./a.out"
> This is pid 10971
> Run as user 48 (effective 48)
> The current directory is : /home/jlb41/public_html
> When I run the code from both the shell and PHP, the /tmp value changes and the
> pid increments. Is that supposed to happen?
>
Yes, it's a memory pointer... only Null would have been an issue.
> I forgot to mention too that I can run shell commands like ls and dir from PHP.
> Just not POV-Ray. I think it might have to do with some sort of permission
> denial by PHP that I'm not knowing about.
Time to check the rights of user 48, including its groups. (and the
compatibility with the installation of povray)
Can you "su - to_the_name_of_user_48" ?
(have a look/grep in /etc/passwd for 48)
And sanity check first: can 48 write in the current directory ?
Can php/web create a file ?
system("date >new_test_file")
Post a reply to this message
|
|