How to increase PHP session and execution time using .htaccess

Views: 5.566
Reading Time: <1 minute

Staff,
Good afternoon.

Today I will demonstrate how to increase the session timeout (cookie) and the maximum execution time of a script in PHP using the Apache HTTP Server configuration file, .htacess, remembering that the values ​​of the informed parameters must be in the 2nd and you can use this same directive to set various other PHP parameters. See more parameters by clicking here.

See how simple it is:

To the next!
Hug!