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...

有帮助吗?

解决方案

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/:

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top