steps to move phpld v3.2 ?

Discussion in 'Directories' started by MeetHere, Feb 7, 2008.

  1. #1
    Can anybody guide or show a reference to change webhost for an established phpld v3.2 directory (script + database) ?

    What steps to follow, how much time it can take ?:eek:

    Thanks.:)
     
    MeetHere, Feb 7, 2008 IP
  2. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #2
    1. backup mysql DB
    2. download all files
    3. change DNS if necessary
    4. on new hosting create new db
    5. upload all files
    6. in the include/config.php change host, user, pswd
    7. wait for dns to resolve if you had to change it
    done
     
    an0n, Feb 7, 2008 IP
  3. SilkySmooth

    SilkySmooth Well-Known Member

    Messages:
    1,583
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    180
    #3
    1. Copy your database to the new server and allow connections from the old server.

    2. Update your configuration file on the old server so that it connects to the database on the new server.

    3. Copy up your files to the new server and test everything is working (You can edit your hosts file on windows to point the domain name to the new IP to test).

    4. Once happy everything is working on the new server, update your domain DNS to point the domain to the new server.

    5. Wait 24 hours for the DNS to propogate and then delete the database and all files from the old server.

    Thats the basics, but if your unsure hire someone to do it for you.
     
    SilkySmooth, Feb 7, 2008 IP
  4. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #4
    Silky it seems Rob beat you by 2 mins :D

    Its a case of backup and restore. nothing more nothing less. Just make sure you dont delete anything or switch nameservers on the domain until its all up and running on the new host.
     
    mikey1090, Feb 7, 2008 IP
  5. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #5
    and do the old dump in this database ?
    And then change the database details in config ?

    Also, any changes to be made in htaccess ?

    thanks silky and an0n, that was fast.
     
    MeetHere, Feb 7, 2008 IP
  6. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #6
    Yes

    Rob said you will need to change DB info. No htacess changes are made. That file never changes. And yes, after creating the new Database you will need to go into phpMyAdmin and import the backup you made.
     
    mikey1090, Feb 7, 2008 IP
  7. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #7
    yes, when you click on 'Export' for your database, on the right-hand side you will see the options to check off:

    Add DROP TABLE
    Add IF NOT EXISTS

    check those off and then save your files to your local PC.

    So whenever you create your new database and goto import, it will automatically drop the table(if it does exist) and create these tables(if they dont exist).

    thats it, you are pretty much set with the DB.

    no need to change the htaccess file. Just make sure you upload that with the rest of your files and everything will be right as rain.
     
    an0n, Feb 7, 2008 IP
  8. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #8
    OK..

    Is it a good idea to install the new script v3.3 on new host and then upload the old database ? will that work ?
    I think that will also require template changes and installing the mods again.

    I just noticed that I will need to move the attached blog too.. :eek:
     
    MeetHere, Feb 7, 2008 IP
  9. SilkySmooth

    SilkySmooth Well-Known Member

    Messages:
    1,583
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    180
    #9
    No that wont work as there will likely be changes in version 3.3 database.
     
    SilkySmooth, Feb 7, 2008 IP
  10. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #10

    you will need to run the installer after you have your database moved over and intact, because the installer does make changes for the newer versions.
     
    an0n, Feb 7, 2008 IP
  11. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #11
    MeetHere, Feb 8, 2008 IP
  12. Artifexus

    Artifexus Guest

    Best Answers:
    0
    #12
    Thanks for the link...that's a nice guide.

    For someone like an0n, this stuff is a breeze, but for someone like me, I need someone to hold my hand...as I watch them do it for me...
     
    Artifexus, Feb 8, 2008 IP
  13. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #13
    BTW why don't you ask your new webhost to transfer your web directory alongwith blog from old hosting ? Suggest you this because i have done same thing for few of my web directories few days back.

    DON.
     
    deluxdon, Feb 8, 2008 IP
  14. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #14
    Thats not a newly registered host.. They charge for moving and they might dont know phpld stuffs. ;)
     
    MeetHere, Feb 8, 2008 IP