[arch-dev-public] Edit /etc/php/php.ini config file in chroot

Pierre Schmitz pierre at archlinux.de
Mon Feb 11 19:16:35 UTC 2019


Do you have an example PKGBUILD? I'd say provide a custom php.ini or
use cli parameters like php -d extension=iconv etc.

On Mon, Feb 11, 2019 at 7:17 PM NicoHood <archlinux at nicohood.de> wrote:
>
> Hi,
> I am using devtools to create a package with php scripts. It uses
> composer to build the package. I get the error:
>
> The requested PHP extension ext-iconv * is missing from your system.
> Install or enable PHP's iconv extension.
>
> This can be solved by editing the config file and add:
> extension=iconv
>
> The config file is only accessible by root. How do I edit this config
> file within the PKGBUILD if its build by devtools? Any idea?
>
> ~Nico
>


More information about the arch-dev-public mailing list