• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP uploaded file size = 0

J

josefhr

Guest
I am having trouble with my plesk 7.5.3. I've just created php script for upload file using HTTP POST upload. And it was work, the uploaded file copied by apache into /tmp directory then my php script moved it to the destination directory. Everything fine, no messages in error_log, and file size is below the max_file_size in php.ini. But then I realize that file size is zero. I've tried uploaded various file with various size and type, but again it was become a zero size file in my server. I've checked my /etc/php.ini file everything like it should be (php not in safe mode) and my php script works fine in another server (not running plesk). I've never faced this kind of problem before. Please, can someone help me and give some advice about this.

rgds
 
Back
Top