I want to use phpmyadmin by this git. https://github.com/dmikusa-pivotal/cf-ex-phpmyadmin
but I have to change max_file_uploads in php.ini.
Any ideas how to solve this?
Sorry for my bad English.
Answer by Sanjay.Joshi (1482) | Sep 22, 2015 at 02:40 PM
Create a file named .user.ini within the root of your project. See this example . .user.ini allows you to override selected php.ini properties.
Hope this helps.
Thank you for your reply.
But max upload file don't change.....
Please help.....
Answer by Mahesh Reddy (637) | Jun 23, 2017 at 09:37 AM
PHP is a community buildpack, you can refer to the following URL if you need custom php.ini options that's the way to configure it: https://docs.cloudfoundry.org/buildpacks/php/gsg-php-config.html#php_ini_d
This is the default php.ini that the buildpack uses and you can check that to confirm what the current settings are: https://github.com/cloudfoundry/php-buildpack/blob/master/defaults/config/php/5.6.x/php.ini
upload_max_filesize = 2M