$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>images - File upload size limit in wordpress and php.ini limit|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

images - File upload size limit in wordpress and php.ini limit

matteradmin9PV0评论

I am developing a wordpress site, I have hosted my wordpress site on Infinityfree as of now.

I am trying to upload a plugin which is 18MB and landing with this error

"The uploaded file exceeds the upload_max_filesize directive in php.ini."

I have tried everything possible, that is i have altered config in .htaccess, i have always edited wp-config.php and also added max_size to php.ini; i have restarted my server too. But I am unable to resolve this error and upload a plugin above 10MB.

Any pointers would be of great help.

I am developing a wordpress site, I have hosted my wordpress site on Infinityfree as of now.

I am trying to upload a plugin which is 18MB and landing with this error

"The uploaded file exceeds the upload_max_filesize directive in php.ini."

I have tried everything possible, that is i have altered config in .htaccess, i have always edited wp-config.php and also added max_size to php.ini; i have restarted my server too. But I am unable to resolve this error and upload a plugin above 10MB.

Any pointers would be of great help.

Share Improve this question edited Dec 27, 2018 at 0:39 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Dec 26, 2018 at 6:14 Rajath c SRajath c S 1 1
  • 1 hi Rajath please check link wordpress.stackexchange/questions/320700/… – vikrant zilpe Commented Dec 26, 2018 at 6:16
Add a comment  | 

1 Answer 1

Reset to default 0

I checked and it seems that your host infinityfree block custom php settings. infinityfree doesn't exist.

https://forums.cpanel/threads/how-can-i-protect-php-ini-with-suphp.127537/#post-554049

https://bobcares/blog/disable-custom-user-ini-easyapache-4/

Post a comment

comment list (0)

  1. No comments so far