mojito Posted July 10, 2012 Report Posted July 10, 2012 I use Uniform Server to test and develop joomla sites.localhost/sitealocalhost/siteb/etc within the joomla config though the host is given as just localhost for all the sites.if i set the host as lcoalhost/sitea then the database connection dies... this is what I could use some help to understand...so in a way I guess joomla is using the host value to connect to the db - but when i created the db it was created using phpmyadmin kind of out of the box... where do i make the changes...the site works apart from images specified like /images/test.jpeg as this should be here /sitea/images/test.jpg so I want the root of each site to be the sites root not localhost root... I hope this helps explain better Quote http://www.landed.at - a travel forum, please come along and post something about a destination you know.
Ric Posted July 11, 2012 Report Posted July 11, 2012 Each Joomla site requires a separate folder and database. 1) Create folder www/sitea – Your first Joomla site2) Create folder www/siteb – Your second Joomla site Each of these folders (sites) requires a corresponding database.Using phpMyAdmin1) Create a database named sitea – First Joomla database2) Create a database named siteb – Second Joomla database Note: Since these are test Joomla sites no need to create a separate user or password for the databases use user root and password root when requested during Joomla installation. Installation - sitea: 1) Unzipped Joomla full package and copy to folder www/siteaType localhost/sitea/ the installer (for your first Joomla site ) startsFollow installation instructions, for MySQL server use Database Type: mysql Host Name: localhost Username: root Password: root Database Name: sitea After installation site access:* Site address: http://localhost/sitea/* Admin address: http://localhost/sitea/administrator/ Installation - siteb: 2) Unzipped Joomla full package and copy to folder www/sitebType localhost/siteb/ the installer (for your second Joomla site ) startsFollow installation instructions, for MySQL server use Database Type: mysql Host Name: localhost Username: root Password: root Database Name: siteb After installation site access:* Site address: http://localhost/siteb/* Admin address: http://localhost/siteb/administrator/ The following although a little dated is worth reading:http://wiki.uniformserver.com/index.php/In...mla_on_5.0-Nano All the bestRic Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.