1
votes

I just upgraded Synology dsm 4 to 5 and when I'm trying to access a php file, the server returns No input file specified.

I don't have any .htaccess files for now, which is the most common issue related to this message...

1
Cool, so what's the question?The Blue Dog
How can I have my php file correctly without this error ?harkor

1 Answers

5
votes

I've found the solution...

I'm trying to execute my php file in ssh live "php /volume1/web/index.php"

And I was an error with open_basedir

In the config of php in the panel, I had /volume1/web/: in the open_basedir.

So the line by default is : /var/services/tmp:

And you need to have /var/services/tmp:/volume1/web/: