By giwrgos
Hello everyone, I’m trying to find a way to load the module mod_session on my server but I didn’t find anything yet. I have connected to the server using FTP and went to /etc/apache2/mods_enable. There I saw inside the session.load that the mod_session doesn’t have comment(#) in front of the LoadModule. Then I used the phpinfo (PHP function) to check if the module is being loaded but is not. Does anyone know how i can load it? thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
mod_session is an apache2 module. phpinfo() shows the loaded php modules, which do not include Apache modules. To list the enabled/loaded Apache modules, run the following command:
apache2ctl -M
To enable mod_session on Ubuntu, just run:
sudo a2enmod session
sudo service apache2 restart
You should now be all set!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.