Hello all
I am trying to install drupal on my shared hosting plan. I have already successfully installed drupal 7.14 on my desktop windows server 2008 with IIS7. I plan to recreate the same site on the 3rd party webhost.
The hosting plan has the following:
1. Windows server 2008
2. IIS6
3. PHP 5.2.5
4. MySQL 5.0.91
I have setup my core drupal install at a subdomain http://dessites.des-us.com. It was working quite correctly, until suddenly, I get this error on browsing to the site:
Fatal error: Class 'PDO' not found in ........includes\database\database.inc on line 184
Finally, I want my site structure to be like this:
1. Core drupal install at http://dessites.des-us.com
2. Main site at http://www.des-us.com - this will be deserp folder under the sites directory of the drupal install.
How do I do this? Right now, when I copy the files from default folder to deserp folder, and try to run the install file, I get the error of file not found. How do I set up so that http://www.des-us.com will get the drupal application files from http://dessites.des-us.com?
Please help.
thanks
Comments
If you have a choice switch to a Linux host
Its a server configuration issue but on a shared host who knows if you have the ability to reload php or whatever th issue is to fix it. Microsoft has been very supportive of the Drupal community but running Drupal on windows is tricky and normally reserved for development or installations where the client owns a server and can't run Linux on their network ( corporate policy that is way above the level of the people you are working with). When it comes to shared hosting servers just switch to Linux, many hosts run both Linux and windows so you could just change your plan.
Mike Hathaway
mike@mikehathaway.com
http://www.mikehathaway.com
switch
hi
a switch at this time is not an option.
The point I am stuck at right now, is how to make the url http://www.des-us.com access the application on http://dessites.des-us.com.
At the development server, I have configured this in the IIS Manager, and given the physical path of the core drupal installation to the subfolder/subsite. Since I dont have access to IIS Manager on the shared hosting, is there another way to do this?
thanks
PDO
Hi,
the problem is the fact that your hoster is not including the PDO extension in their PHP configuration.
You can create a test page with a simple phpinfo() to see the exact configuration.
Unlike years ago, nowadays Windows is a great platform for Drupal. I'd move to a hoster that offers IIS 7.5 and a proper PHP environment.
Alessandro
PDO
Hi
This is not an issue of PDO, because that is on in the php.ini file at the root level. I dont know why sometimes the site comes up with this error. This happens mostly after I have made some changes in the IIS control panel.
Again, my main problem is this - how to make the url http://www.des-us.com access the application on http://dessites.des-us.com.
On my desktop, I have IIS 7 with windows 7, and have successfully installed and configured drupal with multisites. It is only on the webhost, that I cannot find anyway to set the physical path of my domain to the application path. Because when I do that, I cannot install drupal, I get the error, drupal is already installed.
Thanks
subsite working, main drupal site not accessible.
Hello all
I have main drupal install at http://dessites.des-us.com, and was trying to get my domain http://www.des-us.com to setup as a subsite under the dessites main drupal codebase. I ran into the following problem:
I have got the http://www.des-us.com site running, but I cannot access http://dessites.des-us.com anymore. These are the steps I took:
1. install drupal codebase on http://dessites.des-us.com with mysql db.
2. create a folder des-us.com under /sites/. Setup a different mysql db.
3. point the site des-us.com to /dessites as physical path.
4. give hostname des-us.com, dessites.des-us.com the same IP address.
Then I check http://dessites.des-us.com, and it accessed the database of des-us.com, and not the database I originally setup for the codebase. I could start the install at http://www.des-us.com, and it accessed its own database. After the install, at http://dessites.des-us.com, I get the same site as at http://www.des-us.com. Also, I have no admin tabbar even though I am signed in as an admin.
Please help me.
I have decided to just let this go.
thanks
thanks