Quindi hai appena finito di installare il server Apache e PHP e ora sei pronto per il tuo database. Se sei interessato a provare SQLITE serverless, potresti essere felice di sapere che non è richiesta alcuna installazione, è già incluso in PHP 5.0 e versioni successive. Se sei un utente Windows, tuttavia, devi abilitare i file.dll utilizzati da SQLITE nel file php.ini. È facile, ma può essere frustrante se non sai cosa stai facendo.
Passi
Passaggio 1. Apri php.ini in un editor di testo
Passaggio 2. Cerca le seguenti righe:
;estensione=php_pdo.dll
;estensione=php_sqlite.dll
Passaggio 3. Rimuovere il punto e virgola davanti a ciascuna riga
Un punto e virgola indica una riga commentata. Rimuovendo il punto e virgola, decommenti la riga e dici a php di eseguire i comandi. Se non riesci a trovare queste due righe, aggiungile a php.ini nello stesso identico ordine, ma senza il punto e virgola.
Passaggio 4. Salva il tuo file php.ini
Suggerimenti
Utilizzare la funzione phpinfo() per verificare che SQLITE sia stato attivato correttamente. Se non vedi informazioni su SQLITE, allora qualcosa non va
Esempio:
PHP 8.3.6 - phpinfo()
PHP Version 8.3.6
System
Linux 65-109-31-188.ptr 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64
This program makes use of the Zend Scripting Language Engine: Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Phar based on pear/PHP_Archive, original concept by Davey Shafik. Phar fully realized by Gregory Beaver and Marcus Boerger. Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Edin Kadribasic, Marcus Boerger, Johannes Schlueter, Moriyoshi Koizumi, Xinchen Hui
Embed
Edin Kadribasic
FastCGI Process Manager
Andrei Nigmatulin, dreamcat4, Antony Dovgal, Jerome Loyet
litespeed
George Wang
phpdbg
Felipe Pena, Joe Watkins, Bob Weinand
Module Authors
Module
Authors
BC Math
Andi Gutmans
Bzip2
Sterling Hughes
Calendar
Shane Caraveo, Colin Viebrock, Hartmut Holzgraefe, Wez Furlong
COM and .Net
Wez Furlong
ctype
Hartmut Holzgraefe
cURL
Sterling Hughes
Date/Time Support
Derick Rethans
DB-LIB (MS SQL, Sybase)
Wez Furlong, Frank M. Kromann, Adam Baratz
DBA
Sascha Schumann, Marcus Boerger
DOM
Christian Stocker, Rob Richards, Marcus Boerger
enchant
Pierre-Alain Joye, Ilia Alshanetsky
EXIF
Rasmus Lerdorf, Marcus Boerger
FFI
Dmitry Stogov
fileinfo
Ilia Alshanetsky, Pierre Alain Joye, Scott MacVicar, Derick Rethans, Anatol Belski
Firebird driver for PDO
Ard Biesheuvel
FTP
Stefan Esser, Andrew Skalski
GD imaging
Rasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger, Mark Randall
GetText
Alex Plotnick
GNU GMP support
Stanislav Malyshev
Iconv
Rui Hirokawa, Stig Bakken, Moriyoshi Koizumi
IMAP
Rex Logan, Mark Musone, Brian Wang, Kaj-Michael Lang, Antoni Pamies Olive, Rasmus Lerdorf, Andrew Skalski, Chuck Hagenbuch, Daniel R Kalowsky
Input Filter
Rasmus Lerdorf, Derick Rethans, Pierre-Alain Joye, Ilia Alshanetsky
Internationalization
Ed Batutis, Vladimir Iordanov, Dmitry Lakhtyuk, Stanislav Malyshev, Vadim Savchuk, Kirti Velankar
JSON
Jakub Zelenka, Omar Kilani, Scott MacVicar
LDAP
Amitay Isaacs, Eric Warnke, Rasmus Lerdorf, Gerrit Thomson, Stig Venaas
LIBXML
Christian Stocker, Rob Richards, Marcus Boerger, Wez Furlong, Shane Caraveo
Multibyte String Functions
Tsukada Takuya, Rui Hirokawa
MySQL driver for PDO
George Schlossnagle, Wez Furlong, Ilia Alshanetsky, Johannes Schlueter
MySQLi
Zak Greant, Georg Richter, Andrey Hristov, Ulf Wendel
MySQLnd
Andrey Hristov, Ulf Wendel, Georg Richter, Johannes Schlüter
OCI8
Stig Bakken, Thies C. Arntzen, Andy Sautins, David Benson, Maxim Maletsky, Harald Radi, Antony Dovgal, Andi Gutmans, Wez Furlong, Christopher Jones, Oracle Corporation
ODBC driver for PDO
Wez Furlong
ODBC
Stig Bakken, Andreas Karajannis, Frank M. Kromann, Daniel R. Kalowsky
Opcache
Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Dmitry Stogov, Xinchen Hui
OpenSSL
Stig Venaas, Wez Furlong, Sascha Kettler, Scott MacVicar, Eliot Lear
Oracle (OCI) driver for PDO
Wez Furlong
pcntl
Jason Greene, Arnaud Le Blanc
Perl Compatible Regexps
Andrei Zmievski
PHP Archive
Gregory Beaver, Marcus Boerger
PHP Data Objects
Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky
PHP hash
Sara Golemon, Rasmus Lerdorf, Stefan Esser, Michael Wallner, Scott MacVicar
Posix
Kristian Koehntopp
PostgreSQL driver for PDO
Edin Kadribasic, Ilia Alshanetsky
PostgreSQL
Jouni Ahto, Zeev Suraski, Yasuo Ohgaki, Chris Kings-Lynne
Pspell
Vlad Krupin
random
Go Kudo, Tim Düsterhus, Guilliam Xavier, Christoph M. Becker, Jakub Zelenka, Bob Weinand, Máté Kocsis, and Original RNG implementators
Readline
Thies C. Arntzen
Reflection
Marcus Boerger, Timm Friebe, George Schlossnagle, Andrei Zmievski, Johannes Schlueter
Sessions
Sascha Schumann, Andrei Zmievski
Shared Memory Operations
Slava Poliakov, Ilia Alshanetsky
SimpleXML
Sterling Hughes, Marcus Boerger, Rob Richards
SNMP
Rasmus Lerdorf, Harrie Hazewinkel, Mike Jackson, Steven Lawrance, Johann Hanne, Boris Lytochkin
SOAP
Brad Lafountain, Shane Caraveo, Dmitry Stogov
Sockets
Chris Vandomelen, Sterling Hughes, Daniel Beulshausen, Jason Greene
Sodium
Frank Denis
SPL
Marcus Boerger, Etienne Kneuss
SQLite 3.x driver for PDO
Wez Furlong
SQLite3
Scott MacVicar, Ilia Alshanetsky, Brad Dewar
System V Message based IPC
Wez Furlong
System V Semaphores
Tom May
System V Shared Memory
Christian Cartus
tidy
John Coggeshall, Ilia Alshanetsky
tokenizer
Andrei Zmievski, Johannes Schlueter
XML
Stig Bakken, Thies C. Arntzen, Sterling Hughes
XMLReader
Rob Richards
XMLWriter
Rob Richards, Pierre-Alain Joye
XSL
Christian Stocker, Rob Richards
Zip
Pierre-Alain Joye, Remi Collet
Zlib
Rasmus Lerdorf, Stefan Roehrich, Zeev Suraski, Jade Nicoletti, Michael Wallner
PHP Documentation
Authors
Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Philip Olson, Georg Richter, Damien Seguy, Jakub Vrana, Adam Harvey
Editor
Peter Cowburn
User Note Maintainers
Daniel P. Brown, Thiago Henrique Pojda
Other Contributors
Previously active authors, editors and other contributors are listed in the manual.
PHP Quality Assurance Team
Ilia Alshanetsky, Joerg Behrens, Antony Dovgal, Stefan Esser, Moriyoshi Koizumi, Magnus Maatta, Sebastian Nohn, Derick Rethans, Melvyn Sopacua, Pierre-Alain Joye, Dmitry Stogov, Felipe Pena, David Soria Parra, Stanislav Malyshev, Julien Pauli, Stephen Zarkos, Anatol Belski, Remi Collet, Ferenc Kovacs
Websites and Infrastructure team
PHP Websites Team
Rasmus Lerdorf, Hannes Magnusson, Philip Olson, Lukas Kahwe Smith, Pierre-Alain Joye, Kalle Sommer Nielsen, Peter Cowburn, Adam Harvey, Ferenc Kovacs, Levi Morrison
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [email protected].
1
Controlla www.php.net per informazioni sulle funzioni SQLITE. Questa è la pagina ufficiale di PHP
Avvertenze
Se necessario, inserisci le righe di comando sopra nell'ordine esatto. Questo è l'ordine in cui verranno caricati i moduli. SQLITE potrebbe non funzionare correttamente se l'ordine è sbagliato.
Se usi "Salva con nome…" durante il salvataggio di php.ini, assicurati di selezionare "Tutti i file" come tipo di file, altrimenti il tuo editor di testo potrebbe salvare il file come php.ini.text.
Assicurati che php.ini sia nella directory corretta. Usa phpinfo() per determinare da quale directory php sta leggendo php.ini.
Questo articolo spiega come installare Active Directory su un PC Windows 10. Devi utilizzare Windows 10 Professional o Enterprise per installare Active Directory. Passi Parte 1 di 2: installazione degli strumenti di amministrazione remota del server Passaggio 1.
La funzione della finestra mobile è stata presente come predefinita solo nella linea di telefoni Samsung Note. Con poche modifiche, puoi provare la dolcezza del multi-finestra sul tuo dispositivo Android! Avrai bisogno dell'accesso root, tuttavia, che otterrai cercando guide sul Web per il tuo particolare dispositivo.
Pinterest ha un tema scuro sulla sua app Android. L'uso del tema scuro può essere estremamente utile di notte per prevenire l'affaticamento degli occhi. Ti aiuta anche a risparmiare la durata della batteria del tuo cellulare. Questo articolo ti aiuterà ad attivare il tema scuro nell'app Pinterest per Android.
Google ha introdotto una funzione in modalità oscura con l'aggiornamento di Chrome 74 per Windows 10. Puoi semplicemente attivare questa funzione su Chrome abilitando la modalità oscura nel tuo PC Windows 10. Questo wikiHow ti aiuterà a farlo in pochi passaggi.
Stai cercando di abilitare il routing IP sul tuo computer Windows 10? Il routing IP, a volte noto anche come inoltro, è disabilitato per impostazione predefinita. Questo articolo spiega come abilitare il routing IP in Windows 10 modificando il registro.