[Accueil]
Accueil
[Blog]
Blog
[GNU/Linux]
GNU/Linux
[Pierre L.]
Pierre L.
[Whist]
Whist
[Nous]
Nous
[Jabberwocky]
Jabberwocky
[LaTeX]
LaTeX


Previous Up Next


2 PHP 8.1.3

All installation instructions can be found in the Linux® From Scratch Beyond Linux® From Scratch book. Anyway if one plans to use PHP in conjunction with MySql 8.2.0 one should take care of following:

2.1 Configuration

Following configuration options should be passed:

2.1.1 Making PHP available in the Apache 2.4.52 server

--with-apxs2

which is responsible for compiling and installing libphp8.so that is standardly not.

2.1.2 Allowing PHP to communicate with MySql 8.2.0

--with-mysqli=shared

2.2 The init file

Even if you passed the

--with-mysqli=shared

to the ./configure script at PHP installation (cf. 2.1.2 ,) you should have following line in your php.ini file:

extension=mysqli

Previous Up Next



l'imperatrice la giustizia l'appeso il mondo


Copyright (©) 2009 -- 2024 Pierre L. Nageoire


Apache/2.4.52 (Unix) PHP/8.1.3 SVN/1.14.1 Hevea 2.36