Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The DLL extension you've enabled are actually for Windows. On Mac and other *nix platforms, they're actually SO files.</p> <p>I'm on a Mac as well as it appears that the SQLite modules are already loaded. You should be able to comment out those lines in your <code>php.ini</code> file, restart Apache and use SQLite without having to do anything. The SQLite modules have been included for as long as I can remember.</p> <p>If it's really not included, you'll have to compile the modules from source. That requires that you install the <a href="http://developer.apple.com/technologies/tools/" rel="noreferrer">Apple Developer Tools</a>.</p> <p><strong>To compile from scratch (from the command line):</strong></p> <ol> <li><a href="http://ca3.php.net/releases/" rel="noreferrer">Download the PHP's source code</a>. You'll need to download the one that matches the version already installed on your system. To find out which one you're using, type <code>php -v</code> from the command line.</li> <li>Extract the archive you downloaded using <code>tar -zxvf</code> followed by the filename.</li> <li>Type <code>cd php-5.3.x/ext/sqlite3/</code> (where "5.3.x" should be replaced with your version number and "sqlite3" can be any of the modules you want to install from your list above minus the "php_" prefix).</li> <li>Type <code>phpize</code>.</li> <li>Type <code>./configure</code>.</li> <li>Type <code>make</code>.</li> <li>Type <code>sudo make install</code>.</li> <li>Add <code>extension=sqlite3.so</code> to your <code>php.ini</code> (again make sure to replace sqlite3.so with the name of the other extensions if you compile the others).</li> </ol> <p>Finally, restart Apache and you should be done.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload