

The response should indicate: MySQL STATE : 4 RUNNING Verify MySQL service is running by entering: Start MySQL service (mysqld.exe) by entering: (note: mysqld.exe is the the actual MySQL service, mysql.exe simply connects the user to the mysqld.exe) Install MySQL as a service by entering these 2 lines: This and all following steps are done within an "as admin" cmd.exe window.Īny command using mysqld.exe or mysql.exe assumes a CD /D to the "$db_home$\bin" folder before running. "uid1") (do not use root)ĭb_upw1 : a password associated to the : a root password (make it a strong one)ĭOWNLOAD "mysql-5.6.13-win32.zip" (or win64) from MySQL Community Server, and unzip contents to "$db_home$" folder.Ĭopy "$db_home$/my-default.ini" to "$db_home$/my.ini" and edit "$db_home$/my.ini" as specified below.Ĭopy the contents of "$db_home$/data" to the "$db_data$" folder. D:\system\php)ĭb_uid1 : a user id for data access by Drupal (e.g. c:\Apache24)ĭrupal_home : home folder for Drupal 8 (e.g. Ht_home : Apache programs and files home folder (e.g. Php_home : PHP programs and files home folder (e.g.

C:\MySQL)ĭb_data : MySQL data files (e.g. Decide locations for:ĭb_home : MySQL programs and files home folder (e.g. High-IO (data/logs) folders may be located off of boot/SSD drives. Large paths with spaces complicate admin and ".cmd" programming. Windows cmd.exe will be used for admin and setup. Thus "$php_home$" would mean "C:\WebStuff\php" or "C:/WebStuff/php", depending on context. In some contexts, backslash ("\") may be converted to slash.Įxample: if php_home is located at "C:\WebStuff\php"Įxtension_dir = "$php_home$/ext" would be entered: The form $value_name$ is used to refer to an exact, case-sensitive value replacement of value_name. Additionally, all cmd.exe windows used in thes steps should be "run as adminstrator".Ī text editor is required to edit ini and conf files. Logon to Windows using an administrator account. Insure all binaries (MySQL, VC11, Apache, PHP) downloaded are a bit-wise match. It may apply or be useful to Windows 7, Vista and 64 bit installations. It is not a tutorial and has minimal explanation. The following simply a given record of steps and keystrokes used to achieve the goal. For production usage on Windows use Internet Information Services (IIS). The proposed setup should only be used for development purposes, and never as a production environment. Notice: Wincache (a must for running Drupal on Windows) will not work with Apache. Drupal "install goal" is limited to creating a "first page". Drupal 8.x install (dev environment) on a 2GB 32bit Asus-NL4 circa 2006, Windows 8.1 32bit Pro., with PHP 5.5.1, MySQL 5.6.13 (VC11), Apache 2.4.6 (VC11), and Drupal 8.x installed directly from zip files (no install exes or 3rd party AMP stack software).
