Guest Posted July 18, 2003 Posted July 18, 2003 when ever i go to do a database backup i get this error: Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s): (/home/httpd/vhosts/norpacfish.com/httpsdocs:/tmp) in /home/httpd/vhosts/norpacfish.com/httpdocs/catalog/admin/backup.php on line 424 Warning: file_exists(): open_basedir restriction in effect. File(/usr/local/bin/zip) is not within the allowed path(s): (/home/httpd/vhosts/norpacfish.com/httpsdocs:/tmp) in /home/httpd/vhosts/norpacfish.com/httpdocs/catalog/admin/backup.php on line 425 anyone have any ideas? also i can do the backup and all just fine i am just wondering why i get this error. thanks! ~Will
Guest Posted July 18, 2003 Posted July 18, 2003 Did you created a backups folder under admin chmod at 777 ?
Guest Posted July 18, 2003 Posted July 18, 2003 open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s):Your host is using open_basedir for security reasons. As a result, you do not have access to /usr/bin/gzip, because it is not in an area that web server scripts are allowed to access. The basic fixes are to have the host turn off open_basedir or to have the host provide a copy of the zip executable somewhere that the web server can access. Good luck, Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.