What is default session time and path in PHP. How to change it ?

  • Sharad Jaiswal
  • 24th Mar, 2020

1 answer(s) :

  •   Reply


    30th Nov, 2019

    Default session time in PHP is 24 minutes (1440 seconds) and Default path of Session in PHP is /var/lib/php5/sessions.

    You can change it by editing your php-configuration(php.ini) file on your webserver.

Post your Answer :

Valid name is required.

Valid name is required.

Valid email id is required.