Shocker Posted March 28, 2007 Share Posted March 28, 2007 Hi, I get this error message, when trying to execute ftp_nlist(): Warning: ftp_nlist() [function.ftp-nlist]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/kunden/webs/nfsp/:/tmp/) in /var/kunden/webs/nfsp/ftpbrowser.class.php on line 47 Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary file. Check permissions in temporary files directory. in /var/kunden/webs/nfsp/ftpbrowser.class.php on line 47 This is strange, because open_basedir is set with the following at the vhost in Apache, so /tmp should be allowed... php_admin_value open_basedir "/var/kunden/webs/nfsp/:/tmp/" php_admin_flag safe_mode On Does anyone know why this doesn't work? Link to comment https://forums.phpfreaks.com/topic/44623-open_basedir-seems-to-block-tmp/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.