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

How do I import into a MariaDB - MySQL database?

PHP/MySQL | Updated 2026 Importing data into a MariaDB or MySQL database on your hosting...

The MySQL Server Is Currently Offline - DBCACHE Exit 11

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

Server Paths - PHP Perl Python and More

PHP/MariaDB/MySQL | Updated March 2026 The default path to PHP on Ultra Web Hosting servers...

InnoDB Error: Attempted to Open a Previously Opened Tablespace

Server Maintenance | Updated March 2026 The "Attempted to open a previously opened...

How can I find my MariaDB - MySQL version?

PHP/MariaDB/MySQL | Updated March 2026 There are several ways to check your MariaDB/MySQL...



Save 30% on web hosting - Use coupon code Hosting30