Upload_tmp_dir error

Hi,

I got a 100% working plugin written to upload images to my site and now I’m receiving an error message code #6, UPLOAD_ERR_NO_TMP_DIR
Value: 6; Missing a temporary folder. Introduced in PHP 5.0.3.

The solution asks to update php.ini file, which is not possible for free accounts, shall I upgrade to a paid hosting?

Regards,

AugustoM

Have you defined the temp dir in a config file?

I researched and this directive is not available to be updated from an php config file, however, it is currently set up as “/tmp”, and I created the folder tmp in the root directory and granted 766 access with no success, thanks for reading

Try general settings under 000webhost.com and selecting the PHP version best matching your script?