Jump to content

Compiling SQLite 3.4.2 with PHP 5.2.4 on RHEL4


zash

Recommended Posts

Anyone successfully using SQlite 3.4.2 with PHP?

 

I tried compiling PHP with the SQlite source (sqlite-3.4.2.tar.gz ) and the preprocessed source (sqlite-source-3_4_2.zip) . PHP can't find the sqlite 3 files in either approach during the ./configure command.

 

using --enable-pdo=shared --with-pdo-sqlite=shared,/usr/local/sqlite

 

I can't compile SQlite itself, as it gives me errors.

 

Does SQLite need to be compiled first before PHP can compile it as external module?

 

Are there any other sources required besides the sqlite-3.4.2.tar.gz to compile it with PHP?

 

The bundled SQlite 3.3.16 has 2 bugs with can cause corruption of the database in case you wonder why I bother... Spent many hours so far with no luck at all. But having the right documentation is not having luck, it's having knowledge... :-)

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.