Session is not saved.

session_start(); if (empty($_SESSION['count'])) { $_SESSION['count'] = 1; } else { $_SESSION['count']++; } echo $_SESSION['count']; 

with each update shows 1

snapshot phpinfo() ;

enter image description here

Closed due to the fact that off-topic participants are Visman , VenZell , cheops , Bald , aleksandr barakin 20 Jul '16 at 6:36 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - Visman, VenZell, cheops, Bald, aleksandr barakin
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • session_start() to help you. - Visman
  • Is session.save_path a path? - cheops
  • Yes, of course, that's right - Artur Qaramyan
  • There you can see my session history, and dip 777 - Artur Qaramyan
  • one
    try to declare ob_start () at the beginning of the script; - Urmuz Tagizade

0