sqlite – You need to enable php extension 'native' first.

Questionssqlite – You need to enable php extension 'native' first.
oldfart asked 5 months ago

in config.php, set define(“PHPGRID_DBTYPE”,”sqlite”);
open the url

I get the error: You need to enable php extension ‘native’ first.

Do I need any steps to enable sqlite?

2 Answers
Abu Ghufran Staff answered 5 months ago

Yes, this means you need to enable extension in php.ini file. Edit your php.ini file and search “sqlite” and if it’s commented, uncomment.

If issue persists, please let me know the operating system you are using and wamp / lamp software if any.
If there is no “sqlite” text found in php.ini, most likely the sqlite is not configured while installing php.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff replied 5 months ago

PS: You also need to restart web server after enabling.

oldfart answered 5 months ago

thank you

Your Answer

17 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?