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

How To Install XAMPP/LAMPP Stack On Ubuntu 16.04 64bit Step by Step

Most Useful .htaccess Tricks for WordPress website