I am building a Joomla! website with a lot of code customization to my components. I also had to change a lot of strings to the translations files and now it's time to upgrade the Joomla and the components core, for which I need to set up a local development environment.
I decided to use VirtualBox to run a copy of my Joomla! 3.7.2 website on Ubuntu 16.04 with Apache 2.4.18, PHP 7, MySQL 5.7. I could recycle a previous DE where I was testing Drupal so I don't exclude a compatibility issue.
Summing up my migration procedure for you:
- I exported a database dump from the live site web hosting server and downloaded a whole copy of Joomla core, then placed all its content in /var/www/html.
- Created a new database and imported the db dump through Phpmyadmin
- I edited configuration.php so that it would match the new local server
- Made sure PHP session folder was writable and owned by the user under which Apache is running
Code: Select all
Error displaying the error page
Code: Select all
PHP Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) in /var/www/html/libraries/joomla/session/handler/native.php on line 194