You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP extensions are generally written in C, so I don't know how much effort it would take to replace the SQLite binary with LibSQL, but it would be cool to have a way to utilize LibSQL at this low of a level within PHP by just installing an extension, which is optional.
Here's the source for the SQLite PHP extension, would it be feasible to just switch out SQLite binaries with LibSQL binaries from here? (Pardon my ignorance, I know very little about C)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
SQLite is available to PHP via an extension.
https://www.php.net/manual/en/book.sqlite3.php
PHP extensions are generally written in C, so I don't know how much effort it would take to replace the SQLite binary with LibSQL, but it would be cool to have a way to utilize LibSQL at this low of a level within PHP by just installing an extension, which is optional.
Here's the source for the SQLite PHP extension, would it be feasible to just switch out SQLite binaries with LibSQL binaries from here? (Pardon my ignorance, I know very little about C)
https://github.com/php/php-src/tree/master/ext/sqlite3
Would love to bring the power of Turso and LibSQL to the PHP world!
Beta Was this translation helpful? Give feedback.
All reactions