After installing in my new PHP 7.4 box (composer create-project slim/slim-skeleton:dev-master ta-api) and visiting the URL (https://my-domain.com/ta-api/public) I get the next JSON error message:
“description”: “ERROR: Module ‘sqlite3’ already loaded on line 0 in file Unknown.”
What am I missing?
It seems there is something wrong with your php setup.
Can you create a standalone php file with the following content and run it?
echo 'hello world';
Do you get a similar error?
No, with the you’re script there is no error. The browser shows the hello world message as expected.
Try to edit the
php.ini file and remove the extra duplicated lines like
extension = "sqlite.so".
Then restart the webserver.
Sorry, didn’t get a notification about your’re answer.
Strange, would suggest the same as @odan, but i am surprised you’re not getting the error with the sample script.