From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Seiderer Date: Thu, 25 Mar 2021 23:07:33 +0100 Subject: [Buildroot] PHP installation issues In-Reply-To: References: Message-ID: <20210325230733.424f71cf@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Alassane, On Mon, 22 Mar 2021 15:13:47 +0100, Alassane wrote: > Hello, > > I have tried to generate a linux image with buildroot2020.11.1 but i'm > having some issues after that. > First of all, i've activated the external php extension "php-imagick" in > target package after i run "make menuconfig". > After that, i perform a full rebuild, reflash my sd card, launch my target > but when i run the commande "php -m", it doesn't show me the "imagick" > module... $ echo -e "[Imagick]\nextension=imagick.so" >> /etc/php.ini $ php -m [PHP Modules] Core date hash imagick pcre posix Reflection session SPL standard zlib [Zend Modules] Regards, Peter > And this is the following error message i'm facing when trying to run a > program with the "php" command : *PHP Fatal error: Uncaught Error: Class > 'Imagick' not found* > > Also, i've selected the php "iconv" package and facing this error when i > try to run my php program : *PHP Notice: iconv(): Unknown error (22).* > > Do you know where these issues i'm facing could potentially come from? > > Kind regards > > Thank you > > Alassane