Php Installation: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=Installation= | =Installation= | ||
| − | *apt install | + | *apt install php-mysql libapache2-mod-php |
| + | |||
=Test= | =Test= | ||
*cat /var/www/html/test.php | *cat /var/www/html/test.php | ||
| Zeile 8: | Zeile 9: | ||
=Webseite aufrufen= | =Webseite aufrufen= | ||
*http://<IP>/test.php | *http://<IP>/test.php | ||
| − | [[Datei:test-php.png]] | + | [[Datei:test-php.png|800px]] |
| + | |||
| + | =mysqli.ini= | ||
| + | *vi /etc/php/7.4/mods-availabl/mysqli.ini | ||
| + | <pre> | ||
| + | ; configuration for php mysql module | ||
| + | ; priority=20 | ||
| + | extension=mysqli.so | ||
| + | </pre> | ||