jdp407 Posted June 12, 2010 Share Posted June 12, 2010 In I stored my files off the server. This worked fine. At home. On my IIS server. I have tracked the problem to open_basedir restrictions, however open_basedir is not set. I have had other problems with setting things in php.ini. I have heard some VPS's use an 'integrated php.ini', if that helps. Is this my problem or a problem with php.ini? Quote Link to comment https://forums.phpfreaks.com/topic/204567-open_basedir-problems/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 12, 2010 Share Posted June 12, 2010 Your post does not contain any specific information about what you are doing, what your code and data is that exhibits the problem, what error or symptom you are getting, or what your server/hosting setup is, that would allow anyone to directly help you. Quote Link to comment https://forums.phpfreaks.com/topic/204567-open_basedir-problems/#findComment-1071181 Share on other sites More sharing options...
jdp407 Posted June 12, 2010 Author Share Posted June 12, 2010 Ok. I am using a force download script, to download files outside the server root. The file exibits the error Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(../../files/Lighthouse.jpg) is not within the allowed path(s): (/var/www/vhosts/*CENSORED*/httpdocs:/tmp) in /var/www/vhosts/*CENSORED*/httpdocs/cms/uploader.php on line 15 My colleague is using 'easyspace' hosting, although they are quite frankly, a crap provider. As I said earlier we have had problems editing php.ini before. Quote Link to comment https://forums.phpfreaks.com/topic/204567-open_basedir-problems/#findComment-1071251 Share on other sites More sharing options...
jdp407 Posted June 15, 2010 Author Share Posted June 15, 2010 Fixed. The local open_basedir was still set. Quote Link to comment https://forums.phpfreaks.com/topic/204567-open_basedir-problems/#findComment-1072595 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.