Docker Community Forums

Share and learn in the Docker community.

Where to locate php.ini?

Hello,

I am fairly new to Docker.

I established a local server stack on my computer using docker-compose.
I created a script and it installed wordpress, mariadb, and phpmyadmin.

But when I try to upload a theme to my wordpress site, it says “the link you are following has expired”. And I think it has to do with the file upload limits. (correct me if I’m wrong) and can be solved by increasing the maximum file upload size limit in php.ini file ?

I don’t know where to find the file.

Please help.

ini file is the default configuration file for running applications that require PHP. It is used to control variables such as upload sizes, file timeouts, and resource limits. This file is located on your server in the /public_html folder.