Announcement

#16 2019-01-09 15:43:14

flop25
Piwigo Team
2006-07-06
6961

Re: Moving a Piwigo install between servers

any resizes pictures even the custom ones can be deleted safely
all plugins and themes checks if they exists first to avoid to generate them each time


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#17 2019-01-20 16:08:04

kdmiller45
Member
Phoenix
2018-07-16
30

Re: Moving a Piwigo install between servers

Ok for the simpletons like me here is what I did to move my Piwigo site from one server to another

1. created new site on the new server in the /var/www/sitename and performed a sudo chmod 777
    sitename
2. using phpmyadmin I exported old website sql database to local workstation
3. using phpmyadmin I created a new DB on the new location
4. copied the complete website from old location to the new (not sure if the whole site needed to be
   moved, but I did.)
5. then import the old database into the new location
6. I did have to modify the database.inc.php located here /var/www/sitename/local/config/
   and change this information

<?php
$conf['dblayer'] = 'mysqli';
$conf['db_base'] = 'yoursitename';
$conf['db_user'] = 'username for mysql';
$conf['db_password'] = 'Pswd that goes with username';
$conf['db_host'] = 'localhost';

6. I restarted the server and Bingo I was up and going

thanks for the help here
Keith

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact