PHPBuilder - SQLite Support for PHP4 Page 2



RSS Twitter
Articles Databases

SQLite Support for PHP4 - Page 2

by: Jason Farrell
|
August 24, 2004

For those of you who wish to build the module yourself, this can be done in a few steps. The first step, of course, is to obtain the tarball and untar it. Once this is complete, enter the newly created directory.
Next run the 'phpize' program which will in effect build a module tree from the included files that can be configured and installed. Note: If you get a 'command not found' when you attempt to run phpize, make sure it is in your path and that your copy of PHP came with the binary (/path/to/php/bin). If you obtained PHP from a vendor package, you will need the development package as well. Once this is complete you are ready to configure the module for installation. This is done simply by using ./configure --with-sqlite.
Following a successful ./configure, su to root and make all install. This will compile the extension and place the .so file in a subdirectory under the extensions directory. As previously stated, you may have to create this directory path, if it doesn't already exist. In the end, you should issue the following commands to the Command Line Interface.
        cd foo
        phpize
        ./configure --with-sqlite
        su
        make all install
 
(Commands courtesy PECL-Dev Mailing List Member Sara Golemon)

« Previous Page
1
|
2
|
3
|
4
Next Page »

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Jason Farrell

Comment:



Comment:

(Maximum characters: 1200). You have characters left.