Click on the banner to learn about and purchase my database training on Azure

How to increase PHP session and execution time using .htaccess

Views: 8.128 views
Reading Time: <1 minutes

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!