Click to See Complete Forum and Search --> : PHPNuke Viryual hosting


cdburgess75
10-05-2002, 08:17 PM
Suppose a guy wanted to set up apache for virtual hoting so that he may use php and mysql to host multiple phpnuke sites. Would it work to simply change the name of the database nuke.sql that comes with a nuke installation. Or would that confuse some of the php scripts looking for nuke.sql? I would think that each site would have its separate db's and that would mean that the db file name nuke.sql would have to be changed. But, if it was changed - would it work with phpnukes' php scripts?
Dave

Toky
10-07-2002, 07:17 AM
The file nuke.sql is just a "install" script to create all the tables for phpnuke. All you need to do is give diferent names to the databases, (ie, user1_nukeDB, user2_nukeDB, user3_nukeDB) actually you can name the DB for nuke whatever you want, just make sure you give the right DB name to each NUKE site.

There is also a way to "tag" DBs with a user's name. so if you have user1, user2, user3.... all the DBs they make will have their name in front if it (ie, user1_nukeDB, user2_nukeDB, user3_nukeDB) so all DBs have different names.

i'm not a pro w/ php, mysql, or linux, but i get around.... (i think...)IF I'M WRONG I'M PRETTY SURE SOMEONE WILL MAKE SURE THAT I KNOW.