The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Howto install sqlite on php4 servers ?

Discussion in 'General Discussion' started by Ferdinant, Oct 17, 2006.

  1. Ferdinant

    Ferdinant Active Member
    PartnerNOC

    Joined:
    Mar 1, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I found this very interesting article at phpbuilder about SQLite support for php4 and got it installed using

    Code:
    pear install sqlite
    Now the remaining question is, how can I load this module so that it is available to use for our customers? :rolleyes:

    When installed it should be visible when executing a phpinfo() right???
     
    #1 Ferdinant, Oct 17, 2006
    Last edited: Oct 17, 2006
  2. Ferdinant

    Ferdinant Active Member
    PartnerNOC

    Joined:
    Mar 1, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Ok, already solved it!

    Solution: edit the .php ini so that the extension_dir contains the sqlite.so or make a symlink from the sqlite.so to the extension directory.

    Somebody close this thing ;)
     
  3. Ferdinant

    Ferdinant Active Member
    PartnerNOC

    Joined:
    Mar 1, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Forgot to mention the following:

    Before installing sqlite, be sure to temporarily remove all the contents after the "disabled_functions" and turn safe mode off in your php.ini

    After install put the disabled_functions back and the safe mode back again.
     
  4. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    I have the same need.

    How to install SQLite on my root server, so all the domains can access it?

    The tarball (as in the "amalgamation zip" file from here: SQLite Download Page) ?

    When that is "phpized", "configured", "Make" etc, then what? Will the .so file be already where it needs to be?

    Finally, is there something like PHPMYADMIN for sqlite? If not, how to start creating databases and accessing them through PHP?

    Thanks for any simple pointers!
     
Loading...

Share This Page