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

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

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

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

Sun, 01/02/2011 - 18:53
andreychek

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

Mon, 01/03/2011 - 17:25
haydent

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
haydent

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