How do I change my PHP settings?

Updated 2026
Quick Answer

To change PHP settings like upload_max_filesize, max_execution_time, or memory_limit, go to cPanel > Select PHP Version > Options. You can also change settings via a .user.ini file in your document root or via .htaccess using php_value directives.

For the complete guide:

How Do I Update or Change My PHP Version

This article has been consolidated into our How Do I Update or Change My PHP Version guide for easier reference.

  • 4 Users Found This Useful

Was this answer helpful?

Related Articles

Changing Maximum Upload Size

PHP/MySQL | Updated 2026 If you are getting errors like "The uploaded file exceeds the...

What is the proper MariaDB - MySQL import and export format?

PHP/MySQL | Updated 2026 When importing or exporting MariaDB/MySQL databases, the format...

Running a PHP file with a cron job

PHP/MySQL | Updated 2026 You can schedule PHP scripts to run automatically at set intervals...

The MySQL Server Is Currently Offline - DBCACHE Exit 11

Server Maintenance | Updated March 2026 When cPanel displays "The MySQL server is currently...

Clean - Shrink ibdata1

PHP/MySQL | Updated 2026 The ibdata1 file is the InnoDB system tablespace used by...



Save 30% on web hosting - Use coupon code Hosting30