Hello Everybody,

I am Nagendran, I am in the process of doing a website through Drupal. I have MYSQL 5.0 PHP 4.3.3 and Drupal 5.0

I followed the steps given in install file of apache and mysql. I able to invoke local host webpage. But Drupal installation is not invoking as per document.

Some one please help me by giving solution for installing drupal. I am very much required of the drupal installation. Please help me folks. I will be greatful for you people.

Please help me...........................

Comments

pcs305’s picture

Do you have any error message in the apache log?
What happens when you go to the drupal url on the localhost?
Are you using XAMPP or did you manually setup Apache?

ursnagi1’s picture

Nagendran Neelamegam
NJAY Consulting Company

Hi ,

Thanks for your reply. I didn't get any error while trying to invoke drupal.

What I did is

1. Downloaded drupal
2. Installed Apache 2.2
3. installed Mysql 5.0
4. Followed the instruction given in install.txt and installmysql.txt
5. copied the extracted drupal content in the document root directory. which is c:\apache2.2\htdocs
6. tried invoking drupal by typing http://localhost/drupal

I can see only apache default page It Works!
It is not invoking drupal. I know I am doing something wrong , Please guide me in a correct path to complete the installation.

Thanks & Regards

Nagi

Sree’s picture

are you getting any errors?

Better you install WAMP/XAMP once again & place the drupal archive in its root dir & access it through localhost from ur web browser...

-- Sree --
IRC Nick: sreeveturi

ursnagi1’s picture

Nagendran Neelamegam
NJAY Consulting Company

Hi ,

Thanks for your reply. I didn't get any error while trying to invoke drupal.

What I did is

1. Downloaded drupal
2. Installed Apache 2.2
3. installed Mysql 5.0
4. Followed the instruction given in install.txt and installmysql.txt
5. copied the extracted drupal content in the document root directory. which is c:\apache2.2\htdocs
6. tried invoking drupal by typing http://localhost/drupal

I can see only apache default page It Works!
It is not invoking drupal. I know I am doing something wrong , Please guide me in a correct path to complete the installation.

Thanks & Regards

Nagi

ciperl’s picture

The lullabot crew has a nice little podcast that addresses this situation.

http://www.lullabot.com/videocast/install-local-web-server-windows-xp

Also read through the comments and you'll learn lots of little tricks for local hosting a site.

ursnagi1’s picture

Nagendran Neelamegam
NJAY Consulting Company

Hi ,

Thanks for your reply. I didn't get any error while trying to invoke drupal.

What I did is

1. Downloaded drupal
2. Installed Apache 2.2
3. installed Mysql 5.0
4. Followed the instruction given in install.txt and installmysql.txt
5. copied the extracted drupal content in the document root directory. which is c:\apache2.2\htdocs
6. tried invoking drupal by typing http://localhost/drupal

I can see only apache default page It Works!
It is not invoking drupal. I know I am doing something wrong , Please guide me in a correct path to complete the installation.

Thanks & Regards

Nagi

Sree’s picture

Why are you replicating the same post ?

follow the following steps:
1)download WAMP from www.wampserver.com & install it on ur local machine
2)now download drupal & extract the zip file
3)place drupal in 'www' directory of wamp
4)create a DB - 'drupal1' in your mysql - may be through phpmyadmin or command prompt
5)give localhost in browser window - there you click on drupal - it will ask for your DB Details - fill them - your drupal installation is done

hope this may help you

-- Sree --
IRC Nick: sreeveturi

wampung’s picture

I too am installing on my (exisiting) WAMP system with Apache as a local intranet server. The WAMP system works. But drupal wants the site to be at http://localhost/fairfield whereas its location is localhost://fairfield.

I followed the steps set out by drupal.org, kindly replicated above, but cannot get past the Welcome page. I want to create the first account, but all links on this page point to http://localhost/fairfield which is nonsense - localhost is the name of the intranet server.

I look in settings.php and there are instructions to set $baseurl if required, which I set as localhost://fairfield where I copied the drupal files to. But drupal changes this to http://localhost/fairfield (so why the option?).

A second problem I expect, once past this page, is that drupal says the database is on http://localhost/fairfield. It is not, nor is it on localhost:// fairfield. It is on file://C:/program files/MySQL/... etc etc.

Can anyone please confirm if Drupal will work on an intranet system? If so, how?
Thank you.

dman’s picture

localhost://fairfield is nonsense.
That's not a protocol, location or request that anything can resolve. You need to talk to your network administrator who can explain things about your setup.

If you want to, or think you have, installed anything on an intranet server, you should then be able to access it using the servers name or IP instead of 'localhost'. 'localhost' is a keyword that always means 'this machine' It's not a name.

Saying your database is accessed as c://program files/ etc is also nonsense. It's a service that runs on a port of whatever machine you installed it on. Nor is it an http service, as you say above, it's a mysql service, so may be referred to as mysql://localhost/dbname . This only LOOKS like a web URL to you, but there are many more URIs than just www ones.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

wampung’s picture

Thanks for the reply. My WAMP system is configured so that PHP is interpreted when placed on localhost:// which I understand is also a generic name. My project name is fairfield. So I write PHP code which gererates HTML pages when the file is localhost://fairfield/index.php and this is why I wrote that my system works. I run Internet Explorer and open a page with that URL quite successfully whilst disconnected from the internet.

However Drupal seems to want my webpage as http://something, and even though I set the variable $base_url in settings.php as advised, Drupal still insists on generating links called http://localhost/fairfield/...

So I would still like to know how to make this work locally, please, on my intranet, and hopefully I am competent enough not to ask nonsensical questions!

dman’s picture

So I write PHP code which gererates HTML pages when the file is localhost://fairfield/index.php

... That's not right. It can't be right.
I find it mad to imagine that IE would understand anything from from that request. It's totally confused. Has somebody been making up their own network protocols for you?

You are requesting a non-existant (not certainly not web) service from a computer called 'fairfield'!

A URI is made up of protocol://servername/resource_path
"localhost" is not a protocol, it's a stand-in for a servername.

Use the computer name or IP of your intranet server.

http://computername/fairfield/ or http://computername/ are indeed sane URLs, and are where the website should be found, depending on whether you installed in a subdirectory or in the web document root.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

wampung’s picture

We are all mad. When I installed Apache I accepted the default name localhost for the server. After following your links, re-reading the info, numerous variations of port number specs, and vain attempts to hack the Drupal php code, I blinked at the address bar and the neat letters
localhost://fairfield/index.php
rearranged themselves into
http://localhost/fairfield/index.php
and will not go back.

From there it was a short step to the Doh moment as I could see that what was missing was the web page default so I went to Apache's configuration file httpd.conf and made it read

# DirectoryIndex index.html
DirectoryIndex index.php

now I'm away, and many thanks for the hints.

dman’s picture

I kept imagining you it was a typo, but you repeated it so much it felt like your intranet was from another planet. Yes, there are 'doh' moments involved sometimes, but it's hard to help if we can't get the syntax straight.

Anyway, the DirectoryIndex is usually just taken care of by the Drupal .htaccess file, so I'm guessing you haven't completed the install configuration to enable the AllowOverride ALL yet. You'll need that for clean urls soon.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

gonefishing’s picture

Which operating system are you running, XP, nix ?

wampung’s picture

XP SP1 with Apache 2.2, PHP 5.2, MySql 5.0 and Drupal 5.3. I probably misplaced my terminology by saying intranet when all I have is a local file server. It's not this machine but isolated, so obviously there is only so far I can go with it.

dman is pointing me onwards and I am working through things. The local site has two users and one story. I have a hundred and one questions but I know that after a while many will answer themselves and of course there are the Drupal handbooks.

Hiren25’s picture

I am also following same steps i am not able to run drupal

Sree’s picture

can you please provide more details about which version etc etc ....

-- Sree --
IRC Nick: sreeveturi

Hiren25’s picture

O.S Windows server2003
Apache 2.2.17 HTTP server
PHP 5.3.8
My SQl 5.0.67
Drupal 7.2
I am getting List of files copied by extracting Drupal zip file.
I was able to install drupal but when i click on my site it shows me list of files.
I have checked php and all are working fine