Question about cpanel website hosting: I have a website that was created for me. It is running on my host (CPanel) fine. It is a CMS (not sure which one, not wordpress or modx, or Drupal even. Not sure how to tell.
Tonight I just installed WordPress on my local machine YEAH. Wanting to learn how to do it and practice on it.
I have Windows 7. XAMPP installed with Apache, Mysql, PHP. I went into PHPmyadmin to setup my wordpress database for that project.
What I want to do now is to copy my site over to my machine.
This would involve the files which I FTP’d as a backup already on my machine. Then the database.
THEN, to put everything in the right place.
I did do a virtualhost entry and can type /mysite/ and get the index.php (although it doesn’t work since no database.
I opened the connect_db.php file to see what it says.
<?php
/*
$server= "localhost";
$db= "my_db";
$user= "root";
$pwd= "";
*/
This one is for the CMS, The second for the wordpress
/*
$server= "localhost";
$db= "sohomweb_mydb";
$user= "sohomweb_myuser";
$pwd= "password";
*/
$server= "localhost";
$db= "mysite_blog_and_cms";
$user= "mysite_blogcms";
$pwd= "password";
$connect=mysql_connect($server,$user,$pwd) or die("Could not Connect To Server 123");
So there is a database for the WordPress and one for the CMS. They are combined in one list when I open PHPmyadmin.
So……………Is there somewhere with a great tutorial on how to do this? I just watched one today for the installation of WordPress locally, it was perfect and easy to understand.
Read the rest of this entry »