I'm currently trying to build a site in a Docker container running in an Ubuntu VM, which has Apache and PHP installed already. I want to be able to access Sqlite3 features with PHP using PDO.
However, I'm executing regular PHP to check it works,
phpinfo(); which runs fine, but when I execute an SQL query I get a white page.
Has anybody had experience with implementing this before? A docker container containing Apache, PHP and SQLite? My assumption is it needs to be declared in the Dockerfile..