PDA

View Full Version : INstall mutiple sites


rcjay2
05-27-2007, 01:38 PM
All,

I have 1.6 up and running fine. I want to create another site on the same sever. How would I create an additional pixelpost install on the same server/database?

thanks
Rob

jaywilliams
05-27-2007, 02:10 PM
upload pixelpost again to another folder, such as /photoblog2/, and enter your mysql hostname/username/password into the /includes/pixelpost.php file.

But this time we will change the db prefix to something else.
$pixelpost_db_prefix = "anotherblog_";

There you go!

rcjay2
05-27-2007, 05:44 PM
Jay,

Thanks a ton. I will try that out and let you know.

Rob j

rcjay2
05-31-2007, 11:17 PM
Ok....

I have copied pixelppost into a new directory and edited the /includes/pixelpost.php file with username, password, etc...

pixelpost.php file below-
$pixelpost_db_pixelpost = "pixelpost_testnewblog"; // database

$pixelpost_db_prefix = "pixelpost_testnewblog"; // table prefix, leave as is unless you want to install multiple blogs on the same database

Is this correct? Should I just run the install now?

Thanks
Rob

Dkozikowski
05-31-2007, 11:33 PM
As long as your database is called "pixelpost_testnewblog" and your table prefix is different from your original install then you will be fine.


The easiest way I can explain it is copy all the related database info from your original pixelpost.php file

EG:
name of the database-host, often "localhost"
database user name
database password
database name

and only change the pixelpost_db_prefix.

rcjay2
06-02-2007, 03:32 AM
As long as your database is called "pixelpost_testnewblog" and your table prefix is different from your original install then you will be fine.


The easiest way I can explain it is copy all the related database info from your original pixelpost.php file

EG:
name of the database-host, often "localhost"
database user name
database password
database name

and only change the pixelpost_db_prefix.


Just wanted to say thanks. Got it all working with some test photos.

www.jeezopeezo.com
www.jeezopeezo.com/familyblog


Thanks again,

Rob