Update Php.ini values from htaccess

Add the below code to change the default php.ini settings

1) Upload Max Filesize
2) Post Max Size 
3) Max Execution Time 
4) Max Input Time 
5) Memory Limit 


#Update Php.ini values from htaccess
php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value max_execution_time 600
php_value max_input_time 600
php_value memory_limit 512M


we can also update in php.ini or .user.ini.

Comments

Popular posts from this blog

Ionic framework Basics - 1

Most Useful .htaccess Tricks for WordPress website