[wp-hackers] Multiple installations with same tables

Jacob Santos wordpress at santosj.name
Wed Aug 25 17:36:07 UTC 2010


Well, he also has to set up WP_SITEURL and WP_HOME if HTTP_HOST is
'localhost'.

On Wed, Aug 25, 2010 at 12:29 PM, scribu <scribu at gmail.com> wrote:

> On Wed, Aug 25, 2010 at 8:08 PM, Vinicius Massuchetto <
> viniciusandre at gmail.com> wrote:
>
> > I run a server with multiple git projects as WP installations. I want
> > developers to be able to clone these repositories and have them
> > working in their localhosts connecting to the same tables that the
> > original project does, once the development strictly depends of the
> > contents of this database.
> >
>
> Just set the DB related constants in the wp-config.php file to the same
> database.
>
> The DB_HOST will have to point to your db server, which has to be
> configured
> to accept remote connections.
>
> --
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list