LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2019, 03:53 AM   #1
muqor
LQ Newbie
 
Registered: Feb 2019
Posts: 15

Rep: Reputation: Disabled
PHP session handling need help to setup


I found the list for php session handling :

session.auto_start = Off
session.save_path = /path/PHP-session/
session.name = myPHPSESSID
session.hash_function = 1
session.hash_bits_per_character = 6
session.use_trans_sid = 0
session.cookie_domain = full.qualified.domain.name
#session.cookie_path = /application/path/
session.cookie_lifetime = 0
session.cookie_secure = On
session.cookie_httponly = 1
session.use_only_cookies= 1
session.cache_expire = 30
default_socket_timeout = 60

I am confused what I have to list below :
session.save_path = /path/PHP-session/
session.name = myPHPSESSID

Do you have any example?

Thanks
 
Old 02-18-2019, 10:42 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
These values are usually set in php.ini. Depending on the way you installed PHP this file may reside in /etc/php/ folder or somewhere else. Usually you can take the default settings unless you want to achieve a specific goal. So the working ini file is the best example I guess.

Would be useful if you mention the distro you are using in the signature. You will receive more detailed info and help if you let us know.
Cheers, j
 
Old 02-19-2019, 03:15 AM   #3
muqor
LQ Newbie
 
Registered: Feb 2019
Posts: 15

Original Poster
Rep: Reputation: Disabled
Done
 
  


Reply

Tags
php-7, php-fpm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Session key renegotiation if session lasts longer than configured (e.g. an hour) then session keys needs to be renegotiated. dakshinya Linux - Newbie 1 02-04-2016 04:15 PM
[SOLVED] MATE 1.8 and session handling kikinovak Slackware 7 04-05-2014 02:10 PM
handling failed ftp session cmosentine Programming 5 02-15-2012 02:13 PM
PHP Smarty session handling vargadanis Programming 2 12-15-2006 10:37 AM
VNC Session Handling azzurro Linux - Networking 16 09-21-2004 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration