Comment # 6 on bug 1205162 from
(In reply to Eric Schirra from comment #5)
> > The very same line (extension=mysqlnd) is present already in
> > /etc/php7/conf.d/_mysqlnd.ini and in case I add it into
> > /etc/php7/apache2/php.ini I could not get anything else than:
> 
> Yes. I know that. But for some reason, it doesn't work.

I guess we will have to find the reason then.

> > PHP Warning:  Module 'mysqlnd' already loaded in Unknown on line 0
> > [Wed Jan 04 12:22:30.402842 2023] [mpm_prefork:notice] [pid 7666] AH00163:
> > Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured -- resuming
> > normal operations
> > in error_log. So, could you please try to figure out why _mysqlnd.ini is not
> > taken into account on your system? Could you try to inspect phpinfo() run
> > trough apache sapi? Perhaps also php -m output (warnings/errors)?

And what phpinfo() run trough apache sapi says on the system on which
application does not run?

> No error with php -m.
> mysqlnd is shown.
> Some application run, some not.
> For some application it show "mysqli not found" in log.
> Some other apps don't rise up an error.
> 
> When i add in /etc/php7/apache2/php.ini:
> extension=mysqlnd

Which is superfluous in case /etc/php7/conf.d/_mysqlnd.ini is read and thus not
justifiable in general.


You are receiving this mail because: