Assume if I want to change the value of
php_value post_max_size 20M in .htaccess
post_max_size 20M in php.ini
Both will do same operation. So what is the difference between php.ini
and .htaccess
?
Configuration values put in PHP.ini is for the entire server, it gets applied to all the sites running on that server. Where as configuration values put in .htaccess is for individual sites.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With