Web lists-archives.com

Re: php.ini ignored




Andrew Wood <andrewjameswood@xxxxxxxxx> wrote:

> Im using PHP 7 with Apache on Stretch. According to phpinfo() the ini
> file is /etc/php/7.0/apache2/php.ini but changes to this file are not
> reflected in the output of phpinfo() (I am restarting Apache).

> Ive even tried creating a synax error in there and it didnt complain.

Are using libapache2-mod-php7.0 or are you using php7.0-cgi or
php7.0-fpm?

Depending on the way PHP is executed, different php.ini-files are used.

Grüße,
S!

-- 
Sigmentation fault. Core dumped.