Changes

Jump to: navigation, search

OPS335 Lab 5

250 bytes added, 17:23, 21 July 2016
m
Adding a little more explanation to the step for testing the apache-to-mariadb connection.
*Install the '''php-mysql''' module so that the installation of php your web server is using can execute sql statements. You will have to restart the service after installing it.
*Create a page like the one described [http://php.net/manual/en/mysqli.quickstart.connections.php here] to test that your web server can connect to the database (replace the user, password, and database with values appropriate for your machine). Note that only the first connection (using '''localhost''') on that page should be able to connect.
*once Once that page shows a successful connection on your VM ('''Localhost via UNIX socket''') this step is complete.*You have now established that the web server is able to run code which can interract with the database. This will allow dynamic pages to make use of information stored there when providing resources to your users.
'''Record steps, commands, and your observations on this investigation in your OPS335 lab log-book'''
932
edits

Navigation menu