Alright, I have a working copy of 5.x running on my server. www.domain.com and its running under apache in htdocs/domain .. So what Im trying to do is install drupal 6 & 7 for testing and playing around in subdirectories under that.. So for drupal6, its test1.domain.com and its in htdocs/domain/drupal6 .. all that is set up fine.. I also have separate databases for all 3. The problem is, as soon as i run the install script for 6, it displays the opening page, no css, no formatting, and as soon as you hit the button to go on, its redirecting.. Even when I access it like this:

http://www.domain.com/drupal6/install.php

it changes it and keeps adding in this /php/ directory like this?!?

http://www.domain.com/drupal6/php/install.php?

Even if I access it through its subdomain, test1.domain.com it still adds that /php/ subdirectory there that just doesnt exist..

So what do i need to change to fix that?

Comments

Anonymous’s picture

I am not sure why it is adding the /php/ onto your string but maybe you can take a look at this tutorial and it might help you get on the way.

Install drupal in a subfolder

Just setup a subdomain using the method above and redirect the calls to the subdomain into that folder

cog.rusty’s picture

To get rid of the /php/ part edit the site's settings.php file and set $base_url='www.domain.com/drupal6';

Your server is probably running php as cgi.

cdxrd’s picture

Appreciate the help.. it might be, i dont remember how i set it up.. =)

Give both of those a shot when I get home tonight!

cdxrd’s picture

No luck. Edited the sites default settings and set it to http://test1.cdx-games.com .. redirected that in apaches htconf file to point to htdocs/drupal6 .. its not in a sub directory anymore, just its own. If I pull up test1.cdx-games.com boom.. it changes it to http://test1.cdx-games.com/php/install.php

So how else, short of upgrading php now and going through a royal pain do i get rid of that /php its adding in there?

cog.rusty’s picture

Sorry, I don't understand your redirection.

Usually when something is wrong I start by trying to make things as simple as possible and according to the defaults, especially the .htaccess file, until it works correctly. From there, I break one thing at a time.

cdxrd’s picture

Thats just it.. right now, there is no redirection.. Apache is setup so that test1.domain.com points to htdocs/drupal6..

So i punch in http://test1.domain.com/install.php into the browser, and for some reason, apache, php or drupal is changing it to http://test1.domain.com/php/install.php ... which doesnt exist.. why is the /php/ getting added in?

I tried changing the base url, to point just to test1.domain.com but that didnt help either.

And if it makes any difference, i have not modified ANY htaccess file ever. Drupal 5.x worked fine without me having to edit one or anything. so I would assume 6 would as well.

Edit.. what a pain.. as apache didnt like php 5 on this machine.. Finally got that working, which broke mysql.. finally got that working which fixed my whole issue and drupal 6 is working.. whew!