Windows-specific guidelines

Last modified: October 23, 2009 - 23:05

In this section you will learn how to set up a local test site on your Windows box. Several packages exist which install Apache, PHP, MySQL and some other useful components in one easy download. These include the following:

Drupal 6.14 and 7 are compatible PHP 5.2 and 5.3
See this page, http://drupal.org/requirements
PHP 5.2 or higher will be a requirement for Drupal 7.

WampServer note:
There are 2 ways to get version PHP 5.2.9-2 for Wamp or Wampserver2.
• Install the newest WAMP2. Then visit the WAMP addons PHP Versions page, download the PHP version(s) you need or want(PHP 5.2.9-2) and install them. Then you can select the version to run from the WAMP UI by left clicking the Icon > PHP > Version and check mark the one you want. If you change it, restart the server and you will be fine.
• Install an older version of Wampserver. You can find older versions of WAMP5 and WAMPSERVER2 on this page http://sourceforge.net/projects/wampserver/files/ . Just click on WAMP5 or WAMPSERVER2 for the complete file listings.

A comparison of many packages can be found at Wikipedia.

See more information about different setups in the pages listed below. Some are easy installs with a few clicks, and some are more difficult options where each component (Apache, PHP, MySQL, etc) is installed manually.

PHP Version for Wampserver2

DieterSchwerdtfeger - November 12, 2009 - 15:09

After following these guidelines and installing PHP 5.2.9-2, I couldn't use any downloaded themes, after going back to PHP 5.3, it worked.
So if you are setting up a Wampserver2 environment, there is no need to get 5.2.9-2, but just use the 5.3 version that came with it
Kind regards

Installing D6 (WAMP) on Win7 (64bit)

bowden - November 17, 2009 - 01:03

Attempted D6.14 install on WAMPserver2 on Win7 (64bit). created settings.php, created localhost database.

But get following error.
Deprecated: Function ereg() is deprecated in C:\wamp\www\includes\file.inc on line 902
Deprecated: Function ereg() is deprecated in C:\wamp\www\includes\file.inc on line 902
Deprecated: Function ereg() is deprecated in C:\wamp\www\includes\file.inc on line 902
etc etc

This line precedes the Drupal 'Setup database - Database configuration'
then after restating database 'name' & adding a 'username' I get same error.

Is this just a 64bit issue ?, a Wampserver2 issue ? Is there a work-around for a 64bit compatable version ?

Thanks in advance
------------------
Just found Win7 option to 'run programs made for previous versions of windows'
Win7 -> Control panel -> Programs -> Programs & Features -> -> run programs made for previous versions of Windows.

Hope this helps others . . . .

 
 

Drupal is a registered trademark of Dries Buytaert.