Web Hosting Technical

How do I increase PHP memory limit and upload file size in cPanel?

Default PHP limits often need increasing for WordPress: memory_limit (default 128MB — WordPress recommends 256MB+), upload_max_filesize (default 2MB — too small for product images), post_max_size (must be larger than upload_max_filesize), and max_execution_time (default 30 seconds — too short for imports). Methods to change in Connect Quest cPanel: 1) cPanel > PHP Selector > PHP Options — change values via GUI, 2) Create .htaccess in public_html: php_value memory_limit 512M, php_value upload_max_filesize 128M, php_value post_max_size 130M, 3) Create php.ini in public_html with same directives. Verify changes with phpinfo() — create a temp file with <?php phpinfo(); and check values. Delete after verification. Available on all Connect Quest plans at connectquest.co.in.

Need more help? Our experts are available 24/7.

Visit ConnectQuest → 📞 +91 2269711150
Serving North East India
Assam · Guwahati Meghalaya · Shillong Nagaland · Kohima Arunachal Pradesh · Itanagar Manipur · Imphal Tripura · Agartala Mizoram · Aizawl Sikkim · Gangtok
Professor Conquest Connect Quest AI Assistant
Press Enter to send • Response time: 10-15 seconds