Hello everyone,
i want to run Apache-php to host a php site with access to my mySQL database. However, i need to install the pdo driver. Normally i would just uncomment the „extension=pdo_mysql“ part from the php.ini. But it seems like the php.ini is not where it says when running phpinfo(). It says: /etc/php/8.1/apache2/php.ini. But the folter /php/ does not exist.
Thus, my question, can anyone point me in the right direction? How can i enable the pdo_mysql driver when utilizing the docker container apache-php?
I added a snippet from phpinfo() with the referenced path. In addition I added a snippet from the php.ini file which is located in /etc/php.ini. It only has 13 lines and does not contain the lines that i would expect. The third snippet is from the folder /etc/ no folder /php/ visible. Instead php.ini is sitting in /etc/ directly.
Thanks for any help