Author Topic: [SOLVED] SQLite Installation  (Read 1050 times)

0 Members and 1 Guest are viewing this topic.

Offline jackpfTopic starter

  • Devotee
  • Posts: 1,406
  • Gender: Male
    • View Profile
    • Jack's Website
[SOLVED] SQLite Installation
« on: April 13, 2009, 04:12:51 PM »
Hi all,
I just updated to php 5.2.9-2, and decided to install SQLite as well and give it a go.

I have installed all the necessary extensions, but it's giving me the error "Call to undefined function sqlite_open()"

I don't understand why this is, as I have installed the extention and checked my php.ini. I'm running windows XP, Apache 2.2 and PHP 5.2.9-2.

Any help or suggestions would be appreciated.
Jack.

Offline PFMaBiSmAd

  • Guru
  • 'Insane!'
  • *
  • Posts: 14,587
  • In Coding, Automatic means you write code to do it
    • View Profile
Re: SQLite Installation
« Reply #1 on: April 13, 2009, 04:23:30 PM »
Did you do both of these, and then stop and start your web server to get any change made to php.ini to take effect -
Quote
Windows builds must also enable PDO because as of PHP 5.1.0 it depends on it. So, php.ini will end up with something like this:

extension=php_pdo.dll
extension=php_sqlite.dll
« Last Edit: April 13, 2009, 04:24:06 PM by PFMaBiSmAd »
Signature: (not a comment about anything you posted unless specifically indicated)
Debugging step #1: To get past the garbage-out equals garbage-in stage in your code, you must check that the inputs to your code are what you expect.

Programming is just problem solving, but it is done in another language. You must learn enough of the programming language you are using to be able to read and write code.

Offline jackpfTopic starter

  • Devotee
  • Posts: 1,406
  • Gender: Male
    • View Profile
    • Jack's Website
Re: SQLite Installation
« Reply #2 on: April 13, 2009, 04:36:01 PM »
Feel kind of stupid now :P

Thanks dude.