railwayapp / nixpacks

App source + Nix packages + Docker = Image
https://nixpacks.com
MIT License
2.36k stars 226 forks source link

Specifying php.ini params as a configuration #1131

Open vitalybaev opened 2 weeks ago

vitalybaev commented 2 weeks ago

Feature request

PHP provider from Nixpacks is great, but when I had to set some parameters (like post_max_size or upload_max_filesize) I had to append commands to nixpacks.toml to search php.ini and to append these lines there, but I believe it can be done easier.

Motivation

Changing parameters in php.ini is a common task and it would save some time and improve DX of Nixpacks

Contribution

I've already taken a glance at the source code both Nixpacks and Nix packages, but so far cannot see clear path to solve the issue, but I'm opened to help and continue to delve into source code