[solved] setting open_basedir results in "No input file specified." ??

4 posts / 0 new
Last post
#1 Sun, 01/02/2011 - 17:53

[solved] setting open_basedir results in "No input file specified." ??


in a domains php.ini (not global) ive tried different paths for open 'open_basedir' but i always end up with "No input file specified." message when running php script.

ive even tried /

how can i find what paths i need to add to get it working, if at all possible.


Sun, 01/02/2011 - 18:53

I don't have much experience with that particular option, but it looks like you'd need to use a full path, ending with a slash, such as:


Which PHP version are you using? And do things work fine if you don't set open_basedir?


Mon, 01/03/2011 - 17:25

things work fine without it (default) but any setting including the one you suggested that i have tried gives me that error mentioned.

PHP Version 5.2.6-1+lenny9

Mon, 01/03/2011 - 22:51

worked it out , my problem was i was putting my paths in apostrophe's

should be:

open_basedir = /home/uname/public_html/:/home/uname/tmp/

not ! :

open_basedir = '/home/uname/public_html/:/home/uname/tmp/'

Topic locked