Product Documentation

FairCom SQL for PHP

Previous Topic

Next Topic

Install the Web Server

You must install the web server you wish to use with PHP. For example, to install the NGINX web server:

sudo apt install nginx

Copy the FairCom tutorials to the folder: /var/www/html

Configure the web server to run PHP fastCGI:

sudo nano /etc/nginx/sites-available/default

In the text editor, find the following:

location ~ \.php$ {

The lines below it provide examples of fastCGI configurations. Delete comment character “#” from the appropriate line to allow fastcgi_pass to be used, as shown below:

Restart the web server as follows:

sudo service nginx restart

TOCIndex