These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for [solved] setting open_basedir results in "No input file specified." ?? on the new forum.
Hi,
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.
thankyou
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:
/home/USERNAME/public_html/
Which PHP version are you using? And do things work fine if you don't set open_basedir?
-Eric
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
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/'