1

I'm trying to run an AWS EC2 instance for a facebook app. I chose the micro Amazon linux 32-bit as my OS. I'm able to SSH in and install PHP with yum, but when I run phpinfo() I see --without-sqlite in the configuration. Also, my sqlite php page was erroring out on the line that tried to open the sqlite file. I did a yum search for sqlite and php and I didn't see the php5-sqlite pacakge available. How can I get SQLite working with PHP on this system?

1 Answer 1

1

You can still use PHP PDO to use SQLite3, even if your install of PHP doesn't have native SQLite support compiled in.

You can install the PDO library with:

yum install php-pdo

1

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.