Major installation problems

moramata - August 19, 2005 - 04:18

Drupal installation instructions are inadequate and confusing. After reading the instruction a doze times, this is what I undestand

Single installation at the root web
1. your web site http://www.xxx.com
2. download drupal in computer 1
3. extract drupal in a folder yyy in computer 1
4. ftp all files and folder in yyy to your web server root directory
5. setup your database etc., blah, blah blah...
6. point your browser to http://www.xxx.com/index.php
7. Magic happens. If you get errors, spend your entire week-end in drupal forum
8. If somebody does not know how to set up a database, good luck. Hire a pro. No instructions needed here.
9. I love windows because one click installation works like magic.

Want to install in another web site http://blah.xxx.com or http://www.zzz.com in the same server where http://www.xxx.com is installed?
Repeat steps 4 thru 7 (this time ftp to the root web of http://blah.xxx.com).
So you have multiple installations of drupal.
Oh no, drupal says you can have one installation for multiple sites.
Good luck on that, hire a pro or spend your next two months in the drupal forum.

Please I am becoming a little bit sarcastic.
How do I install one copy of drupal or multiple sites in the same server?
If it is no, please say so.

your step 5 is a bit vague.

Harry Slaughter - August 19, 2005 - 06:42

your step 5 is a bit vague. the 'blah blah blah' portion of your steps hopefully includes creating the drupal tables in your database (possibly having to use table name prefixes if you're at an ISP), testing your access to that database (from the commandline), making sure you know the right password, then editing sites/default/settings.php, setting up the database and docroot info.

at that point, you need to set up a new account, and that will be your admin acount... blah blah blah

in settings.php (as well as on this site), you'll find info on setting up drupal for multiple sites.

you're one-click install reference doesn't really apply here. you're setting up a database driven website, not a windows theme. the drupal install process is not as easy as that of some other apps, mainly because it doesn't have a web based installation interface (yet). but it's well within the ability of anyone a bit familiar with mysql and apache.

good luck.

Instead of spending nearly

Heine - August 19, 2005 - 06:49

Instead of spending nearly all your post on sarcasm, you could have done a better job of asking a question. Is the entire installation a problem? Or do you have trouble with a specific step?

http://drupal.org/node/260 has some information on multi-site installation: "Additional site configurations are created in subdirectories within the 'sites' directory. Each subdirectory must have a 'settings.php' file which specifies the configuration settings. The easiest way to create additional sites is to copy the 'default' directory and modify the 'settings.php' file as appropriate. The new directory name is constructed from the site's URL. The configuration for www.example.com could be in 'sites/example.com/settings.php' (note that 'www.' should be omitted if users can access your site at http://example.com/)."

http://drupal.org/node/23470 has the solution to a problem not mentioned in the install document; how to get your other sites served by the root drupal installation.

BTW many hosts offer PHPMySQLAdmin. This serverside software makes creating databases really easy.

If you have more specific questions, don't hesitate to post again.

Good luck,

Heine

Yes I was a little sarcastic

moramata - August 20, 2005 - 00:01

Yes I was a little sarcastic but I got frustrated and wanted to be humorous. I know how to install drupal for each site with its own drupal installation. That is what I wanted to convey in the steps i mentioned. I was wondering how to install one copy of drupal and use it for multiple sites, all sites are located in the same server machine.

The instructions are not complete. I know, I know, I have to create settings.php for each site in blah blah directory. But how do I bootstrap drupal for all sites?
Simply move the index.php to the web rot of each site and call http://zzz.com/index.php
Well, that does not work. You know why if you look at the index.php.
Modify index.php to include the correct bootstrap.inc and other includes? Well, that also does not work because all paths are messed up.
If somebody has installed one drupal instllation for multiple sites in one server, please let me know the directory structure used with respect to web root of each server and what files I need to modify, move, create duplicated to bootstrap the system. No need to tell me that I need to setup database, use a password, or change the settings.php pages because those info are already provided.

It's there.

sepeck - August 20, 2005 - 00:58

Step 4 seems fairly clear. I do not understand your use of bootstrap. You do NOT move index.php anywhere.

On the webserver you point your other domain names to the same root Drupal directory. The index.php will parse through the servername request and the sites directory all by itself. This is a webserver configuration issue. If the webserver isn't pointing the domain name to the correct directory how do you expect it to work? I have 2 multisite installs on the same server.

Please note that I passed over your original request as it didn't seem to actually ask for anything :)

-sp
---------
Drupal Best Practices Guide - My stuff Black Mountain

Thanks speck. Now I

moramata - August 20, 2005 - 03:26

Thanks speck. Now I understand.

New user to Drupal

LearnersPermit - December 10, 2008 - 16:08

I'm having an installation problem. I have a suse linux machine with mysql and php installed.

Whenever I point my browser at mysite/drupal/install.php or any version thereof I get the following error: Error. The file was not found.(uri = /drupal/install.php).

Prior to editing my httpd.conf file to Add Handler for .php all that happened was the php file opened in my browser.

I'm sure that its something that I'm missing in my installation process. I've been driving myself crazy for a couple of days and would appreciate any help that's available.

thank you

 
 

Drupal is a registered trademark of Dries Buytaert.