Skip to content
Prev 43711 / 398503 Next

running R from PHP

<brook at biology.nmsu.edu> writes:
Your R version is about a year out of date, but that's hardly the
issue. I don't do PHP, but the error message in both cases has to do
with file opening, so how about checking permissions on your current
directory: Try sticking this into your script
 
   system("id; pwd; ls -la") 

Also notice that web applications often take special security measures
and may change one or all of the following: working directory, root
directory, user id, and group id.