The DLL extension you included is valid for Windows. On Mac and other * nix platforms, they are actually SO files.
I am on a Mac and it seems that the SQLite modules are already loaded. You should be able to comment on these lines in your php.ini , restart Apache and use SQLite without doing anything. SQLite modules have been enabled as long as I remember.
If it really is not included, you will have to compile the modules from the source. To do this, you must install Apple Developer Tools .
Compile from scratch (from the command line):
- Download the PHP source code . You need to download the one that matches the version already installed on your system. To find out which one you are using, enter
php -v from the command line. - Extract the archive you downloaded using
tar -zxvf followed by the file name. - Type
cd php-5.3.x/ext/sqlite3/ (where "5.3.x" should be replaced by your version number, and "sqlite3" can be any of the modules that you want to install from your list higher than the "php_" prefix) . - Enter
phpize . - Type
./configure . - Type
make . - Type
sudo make install . - Add
extension=sqlite3.so to your php.ini (make sure again that sqlite3.so replace the name of the other extensions if you compile the rest).
Finally, restart Apache, and you should be done.
source share