Product Documentation

FairCom SQL for PHP

Previous Topic

Next Topic

Run the SQL PHP Tutorials with Linux/Unix Apache

To execute the SQL PHP tutorials, copy the tutorials files into a directory accessible to your web server (here we use the web server root directory) as shown below:

  1. Open a root shell and move to /var/www/ and copy the contents of the php.sql.pdo/tutorials/ directory in your installation directory:

    debian:~# cd /var/www/

    debian:/var/www# cp -v <faircom>\drivers/php.sql.pdo/tutorials/* .

    (You will need to adjust the path based on your installation directory.)

  2. Make sure FairCom DB SQL is running.
  3. Open your favorite web browser and connect to http://localhost/index.htm (make sure you are using a proper URL if you did not use the web server root directory). You should see the index.htm page with hyperlinks to the three tutorials to be executed:

  4. Click the tutorials hyperlinks to execute the tutorials:

TOCIndex