after hours of googleing, i've decided to write my problem here:
I simply wanna use the SQLite library in PHP. But i am getting this error here:
Fatal error: Uncaught Error: Call to undefined function sqlite_open()
Then I have followed this instructions here:
How to enable the PDO driver for sqlite3 in php?
but then I recognized that .dll extensions are not compatible with Linux Distributions or MAC OSX Systems.
Then I have found this here:
How do I enable Sqlite3 in OS X 10.5.8 with PHP?
and i have tried this here:
- intalling MacPorts
- $ sudo port install php5-sqlite
- $ sudo port uninstall php5
- $ sudo port install php5 +apache2 +sqlite
without success.
So what i have found out is that sqlite is already installed in OSX High Sierra, but PHP could not find my sqlite distribution for some reason
and additionaly really strange is that my phpinf() gives me this here
But why then my sqlite_open() functions was not found?
I am really confused, becasue the function is not deprecated.
http://php.net/manual/en/function.sqlite-open.php
please could anyone give me a lil hint here...
Thank you so much!
greets
EDIT: i am using the 7.17 PHP Version
