Followed all instructions in INSTALL.txt correctly.

Installing on Verio shared hosting 2000 in order to duplicate a client's environment.

Running the install by opening the site for the first time gets this error:

Not Found
The requested URL /global-bin/install.php was not found on this server.

and on the site's error log:

script not found or unable to stat: /usr/local/apache/global-bin/install.php

It appears that a path is getting set incorrectly during the install to the server's global-bin rather than the user's www/htdocs where Drupal and its install.php file reside.

Is there a way around this?

Comments

slbolles’s picture

on install includes/bootstrap.inc looks to these two variables to construct a path:

_SERVER["SCRIPT_NAME"]
_SERVER["SCRIPT_FILENAME"]

slbolles’s picture

no need for assistance, thanks.

vegasphotog’s picture

I think I have having the same problem...could you explain exactly what you did to fix the problem...I am not a coder...I am a designer... ;)

slbolles’s picture

in this case drupal is installed in a shared hosting environment. i set up a phpinfo script in the htdocs folder. then i called technical support and explained the problem, directing the person on the phone to the phpinfo where the script_name and script_filename environment variables displayed using the server's ../global-bin/php.cgi script rather than the user account's ../www/htdocs/phpinfo.php as the script. at install, drupal determines the path to where the install is to be done by loading the name of the script that is currently running which for the install to proceed, must be equal to its current location not some other folder. i was on hold for a while. when the support person came back on the line he asked me to run phpinfo again and the variables were correctly set to the correct path. i thought about asking what was done by the webhost to fix this but decided against it.

jbigras’s picture

I am experiencing the same problem with Verio, although tech support is not that great with me. If you have a ticket number still, that would be great so I can point them to it and they could hopefully figure it out. It has been 2 days now and they keep telling me to put the package in the /global-bin/ directory which is obviously not an option.

jbigras’s picture

This seems to have fixed the problem but I have found another provider instead (MediaTemple). After almost a week, here is the fix (in case you don't have a choice to move ISPs)
From Verio Support: You're all set. I added a php.ini to your www folder and added the cgi.fix_pathinfo=1 setting.
Relay this ticket number so they can reference the fix asap:
IDS-10076010

dalehgeist’s picture

I just executed this fix. Here's how:
- I found the php.ini file in /www
- I found the line "cgi.fix_pathinfo" - it was commented out
- I uncommented it, set it to 1, and saved

Tested, and it worked, without messing up anything else on the site.