harkor harkor - 10 days ago 5
PHP Question

no input file specified on Synology DSM 5.0

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

Answer

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