Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MySQL to store PHP session data #22

Open
ririko5834 opened this issue Sep 23, 2021 · 3 comments
Open

Use MySQL to store PHP session data #22

ririko5834 opened this issue Sep 23, 2021 · 3 comments

Comments

@ririko5834
Copy link

ririko5834 commented Sep 23, 2021

Add an option that you can provide MySQL connection data in the index.php and that session data will be stored in MySQL database when it was provided

@SamuelTallet
Copy link
Owner

SamuelTallet commented Sep 23, 2021

Would this only for logging purpose or would you want to write/read MongoDB credentials to/from MySQL database?

@SamuelTallet SamuelTallet changed the title Use mySQL for storing session data Use MySQL for storing session data Sep 23, 2021
@ririko5834
Copy link
Author

This would solve my issue when I don't have free space on the disk of hosting
PHP message: PHP Warning: Unknown: write failed: Disk quota exceeded (122) in Unknown on line 0PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions) in Unknown on line 0

Then users cant login.

Would this only for logging purpose or would you want to write/read MongoDB credentials to/from MySQL database?

Session data should be stored in MySQL database when it was provided

@SamuelTallet
Copy link
Owner

Ok. I understand your request now 😊

@SamuelTallet SamuelTallet changed the title Use MySQL for storing session data Use MySQL to store PHP session data Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants