Expandpanel | ||
---|---|---|
| ||
|
Requirements
Refer to the following sections for the recommended settings.
PHP
Use the following web server based on the platform being used:
- Windows: WAMP
- Linux: LAMPP
- Mac: MAMPP
- Cross Platforn: XAMPP
...
PHP version 7.3 or higher.
Database Servers
Use one of the following servers or higher versions with InnoDB as the primary storage engine, and requires the PDO database extension:
- MySQL 5.5.3
- MariaDB 5.5.20
- Percona 5.5.8
...
Tip |
---|
For other database server support, refer to https://www.drupal.org/docs/7/system-requirements/drupaldatabase-7server-php-requirements to determine the web server compatible with Drupal Developer Portal. |
Below section illustrates the WAMP server installation steps.
Installing the Wamp Server
Webservers
Apache is the most commonly used web server for Drupal. Drupal will work on Apache 2.x hosted on UNIX/Linux, OS X, or Windows.
Tip |
---|
For other servers, refer to https://www. |
...
drupal. |
...
org/ |
...
Tip |
---|
Hover over the WAMP icon to ensure that the servers are running.
|
Creating a database in the database server
...
docs/system-requirements/web-server-requirements |
Setting up AMP Server
Sections below illustrate the installation of web servers in Windows and Linux platforms respectively.
Tip |
---|
Recommended using Bitnami LAMP/WAMP Stack. Download the latest Bitnami WAMP/LAMP server 7.4 or higher version |
Bitnami Web Stack provides a complete PHP, MySQL and Apache development environment that can be launched in one click.
Perform the following actions based on the operating system as below:
Windows: Double-click the downloaded executable file.
- Mac: Double-click the .dmg file to make its content available (name shows up in the Finder sidebar and usually a window opens showing the content as well) or drag the application from the .dmg window into /Applications to install (may need an administrator password).
Linux: Give permissions to the executable file and run the executable in the command line by typing the below commands:
Code Block cd <path-to-folder-where-executable-exists> ./<executable-name>.run
The following wizard appears.
Tip The wizard below is pertaining to Linux; Windows and Mac wizard would be similar to this.
Figure 1: LAMP Setup wizard
Click Next twice and provide the installation folder and click Next.
Figure 2: Setting the installation folderTo access the MySQL database, it requires an account with credentials. Type in the password and click Next.
Info The default username is 'root'.
Figure 3: Setting the MySQL passwordProvide an unused port to the Apache Web server and click Next.
Figure 4: Providing the Apache Webserver port numberProvide an unused port to the SSL configuration and click Next.
Figure 5: Providing the SSL Port numberProvide an unused port to the MySQL server and click Next twice.
Figure 6: Providing the MySQL server port number
Installation starts.
Figure 7: Installation status screenAfter the installation is completed, click Finish.
To start the apache and web servers, go to the LAMP installation folder and type in the following command in the command line:
Code Block ./manager-linux-x64.run
Go to Manage Servers and click Start All in the bottom to start the servers.
Info - Status of the servers can be seen in the Status column in the dialog box.
- The default configuration for servers can be changed by clicking the Configure button against the server.
Figure 8: Starting the servers
Creating a database in the database server
Open the LAMPP database portal by using the URL in the following format:
infoCode Block http://<IPAddress>:<PortNumber>/phpmyadmin/
Info title Example http://192.168.2.33:8080/phpmyadmin/
- Click the WAMP icon present in the taskbar and click the phpMyAdmin option and then edit the IP address and Port number as above.
Figure 4: The phpMyAdmin option to open the URL
Provide the default Username "root" and the password created in the previous steps, and click Go.
Figure 59: Logging Logging on to the PHP database - Click the the Databases tab tab, provide a database name in the the Create database field field and click click Create.
Figure 610: Creating a Developer Portal Drupal database - The database that is created appears in the left navigation pane.
Figure 711: Newly created Developer Portal Drupal database