Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

php session not working

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Huiwu
Posts: 1
Joined: Thu Oct 25, 2018 5:07 pm

Os: CentOS 6x
Web: apache + nginx
php session not working
  • Quote

Post by Huiwu » Thu Oct 25, 2018 5:13 pm

I was trying to upgrade my forum software but got the following error instead

"The upgrader uses PHP sessions to store data, however PHP sessions are currently not working correctly on your server. This is an issue you will need to contact your host about. "

I'm pretty new to vestacp but love it so far, would appreciate very much for any help I can get on this issue.
btw i'm running CentOS 7
Top

AlexisC
Posts: 4
Joined: Wed Oct 24, 2018 6:02 am

Os: Debian 8x
Web: apache + nginx
Re: php session not working
  • Quote

Post by AlexisC » Fri Oct 26, 2018 6:25 am

Check your php.ini > session.save_path to see where session are saved.
By default there are in /tmp/. Check if this folder exists
Top

DarkShy
Posts: 1
Joined: Fri Jul 24, 2020 5:55 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: php session not working
  • Quote

Post by DarkShy » Fri Jul 24, 2020 5:57 pm

I have this problem.
config:

Code: Select all

[Session]
; Handler used to store/retrieve data.
; http://php.net/session.save-handler
session.save_handler = files

; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
;
; The path can be defined as:
;
;     session.save_path = "N;/path"
;
; where N is an integer.  Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories.  This is useful if
; your OS has problems with many files in one directory, and is
; a more efficient layout for servers that handle many sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
;         You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
;         use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
;     session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
; http://php.net/session.save-path
session.save_path = "/tmp/"
Please help
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password