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

Popular posts from this blog

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -

php - Prepared Statement Inner Join Cannot Pass Parameter by Reference -

c# - Value cannot be null or empty.\r\nParameter name: name -