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

I am having problems with a script I wrote

Scripts | Updated 2026 If a script you wrote or installed is not working on your hosting...

How can I find my MariaDB - MySQL version?

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

PHP open_basedir Restriction in Effect

PHP/MariaDB/MySQL | Updated March 2026 The open_basedir restriction in effect warning is a...

PHP information

PHP/MySQL | Updated 2026 To view your PHP version, loaded extensions, configuration settings,...

Increase PHP Memory

PHP/MySQL | Updated 2026 If your website shows a "Fatal error: Allowed memory size exhausted"...



Save 30% on web hosting - Use coupon code Hosting30