Migrating files compressed with gzcompress() [PHP] -
i have files on home/domain.com/path/to/file.txt
data compressed using gzcompress()
. need move files home/otherdomain.com/newpath/to/file.txt
. copied files, when change path on file read compressed data warning: gzuncompress(): data error
.
i tried copy files again in case of error during copy didn't solve it. if try old uri works well.
how solve , can avoid same issue in case need move files again in future (ie: server migration)?
Comments
Post a Comment