Hi,
I tried to uploaded a 3MB PDF file but got 'upload of file failed' error. In forum admin, the max pdf upload size is set to 20M. In php.ini,
upload_tmp_dir = /home/hipgirlc/public_html/forums/tmp
upload_max_filesize = 5M
I can upload files <2M which is the original upload_max_filesize in php.ini. I changed upload_max_filesize from 2M to 5M and upload_tmp_dir from null to /home/hipgirlc/public_html/forums/tmp.
/home/hipgirlc/public_html/forums/tmp is set to 'drwxrwxrwx'
Here is phpinfo:
I didn't restart apache. I contacted the hosting company and ask them to restart apache because of php.ini change. I was told 'PHP doesn't run as a module of Apache so it doesn't need to be restarted for a change to the php.ini file. PHP loads your php.ini file dynamically upon a script running so any changes to it are immediate.' As you can see, phpinfo shows the change.
Still cannot upload that 3MB pdf file.
Thanks.
Michelle
www.hipgirlclips.com/forums
I tried to uploaded a 3MB PDF file but got 'upload of file failed' error. In forum admin, the max pdf upload size is set to 20M. In php.ini,
upload_tmp_dir = /home/hipgirlc/public_html/forums/tmp
upload_max_filesize = 5M
I can upload files <2M which is the original upload_max_filesize in php.ini. I changed upload_max_filesize from 2M to 5M and upload_tmp_dir from null to /home/hipgirlc/public_html/forums/tmp.
/home/hipgirlc/public_html/forums/tmp is set to 'drwxrwxrwx'
Here is phpinfo:
I didn't restart apache. I contacted the hosting company and ask them to restart apache because of php.ini change. I was told 'PHP doesn't run as a module of Apache so it doesn't need to be restarted for a change to the php.ini file. PHP loads your php.ini file dynamically upon a script running so any changes to it are immediate.' As you can see, phpinfo shows the change.
Still cannot upload that 3MB pdf file.
Thanks.
Michelle
www.hipgirlclips.com/forums
Comment