Windows
Install LTO Network full node plus supporting tools on Windows 10.
The LTO full node is comprised of a set of Docker containers. For development, use docker compose as orchestration tool.
- 1.
- 2.Double-click
Docker Desktop for Windows Installer.exe
to run the installer. - 3.Docker does not start automatically. To start it, search for
Docker
and select Docker Desktop for Windows in the search results.
Docker Desktop includes docker compose, so it's not needed to install that separately.
- 1.
- 2.In PowerShell (or another terminal) run
docker-composer up
.
- 1.
- 2.
- 3.Expand the zip file into the path
C:\PHP7
. - 4.Configure PHP to run correctly on your system:
- 1.In the
C:\PHP7
folder, rename the filephp.ini-development
tophp.ini
. - 2.Edit the
php.ini
file in a text editor (e.g. Notepad++, Atom, or Sublime Text). - 3.Change the following settings in the file and save the file:
- 1.Uncomment the line that reads
; extension_dir = "ext"
(remove the;
so the line is justextension_dir = "ext"
). - 2.In the section where there are a bunch of
extension=
lines, uncomment the following lines:- 1.
extension=php_curl.dll
- 2.
extension=php_openssl.dll
- 3.
extension=php_sodium.dll
- 5.Add
C:\PHP7
to your Windows system path:- 1.Open the System Control Panel.
- 2.Click 'Advanced System Settings'.
- 3.Click the 'Environment Variables...' button.
- 4.Click on the
Path
row under 'System variables', and click 'Edit...' - 5.Click 'New' and add the row
C:\PHP7
. - 6.Click OK, then OK, then OK, and close out of the System Control Panel.
- 6.Open PowerShell (or another terminal emulator), and type in
php -v
to verify PHP is working.
- 1.Visit https://windows.php.net/downloads/pecl/releases/mongodb/ and choose the latest stable version (not alpha, beta or RC).
- 2.Download the version that matches your PHP installation. For PHP 7.3 64-bit Non-thread-safe, choose the version that ends with
7.3-nts-vc15-x64.zip
. - 3.Extract the zip file into path
C:\PHP7\ext
. - 4.Configure PHP to run correctly on your system and add the following line:
extension=php_mongodb.dll
. - 5.In PowerShell (or another terminal emulator) type
php --re mongodb
to verify the extension is installed correctly.
- 1.Visit https://windows.php.net/downloads/pecl/releases/yaml/ and choose the latest stable version (not alpha, beta or RC).
- 2.Download the version that matches your PHP installation. For PHP 7.3 64-bit Non-thread-safe, choose the version that ends with
7.3-nts-vc15-x64.zip
. - 3.Extract the zip file into path
C:\PHP7\ext
. - 4.Configure PHP to run correctly on your system and add the following line:
extension=php_yaml.dll
. - 5.In PowerShell (or another terminal emulator) type
php --re yaml
to verify the extension is installed correctly.
- 1.
- 2.Run
php lctest.phar
to verify it's working correctly.
Last modified 4yr ago