Chapter 5. The PHP Interface

PHP is a server-side embedded scripting language for writing dynamic web pages that supports communication with many different databases, and SQLite is no exception.

In this chapter we will look at how SQLite support is activated in PHP, how to communicate with a database through a web page, and how custom functions can be added to SQLite through the PHP interface.

Configuring PHP for SQLite Support

Modern versions of PHP make it very easy to add in SQLite support, so we'll briefly look at the steps required for both Linux/Unix and Windows versions of PHP.

For more general assistance with PHP configuration on a particular platform, refer to the online documentation at http://www.php.net/manual/en/installation.php.

Configuring ...

Get SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.