Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> SQlite -> php -> Linux Kali
alpork
post 19.05.2016, 20:46:27
Post #1





Grupa: Zarejestrowani
Postów: 20
Pomógł: 0
Dołączył: 18.05.2007
Skąd: Sosnowiec

Ostrzeżenie: (0%)
-----


Witam wszytskich

Korzystam z Linux Kali gdzie mam postawiony server apache oraz baze danych SQlite.
Przy próbie połączenia się z bazą mam poniższy błąd.
Fatal error: Class 'sqlite' not found...

Nie wiem co wpisać w php.init dla sqlite. Jaką sciężkę by interpretator PHP "rozumiał" komendy dla sqlite

[sqlite3]
sqlite3.extension_dir =

Czy możecie coś podpwiedzieć?

Pozdrawiam
Alpork
Go to the top of the page
+Quote Post
LowiczakPL
post 20.05.2016, 15:51:54
Post #2





Grupa: Zarejestrowani
Postów: 327
Pomógł: 24
Dołączył: 3.01.2016
Skąd: Łowicz

Ostrzeżenie: (0%)
-----


sprawdź czy oby na pewno masz zainstalowane sqlite

print_r(get_declared_classes());


--------------------
Symfony, Laravel, Back-End, Front-End, aktualnie w wolnym czasie piszę gierkę MMORPG w Symfony, głównymi bohaterami są mrówki.
Go to the top of the page
+Quote Post
alpork
post 21.06.2016, 11:29:04
Post #3





Grupa: Zarejestrowani
Postów: 20
Pomógł: 0
Dołączył: 18.05.2007
Skąd: Sosnowiec

Ostrzeżenie: (0%)
-----


Cześć

Dodałem poniższą linę do mojego skryptu:
print_r(get_declared_classes());

To jest odpowiedz mojego sysemu.
Array ( [0] => stdClass [1] => Exception [2] => ErrorException [3] => Closure [4] => Generator [5] => DateTime [6] => DateTimeImmutable [7] => DateTimeZone [8] => DateInterval [9] => DatePeriod [10] => LibXMLError [11] => DOMException [12] => DOMStringList [13] => DOMNameList [14] => DOMImplementationList [15] => DOMImplementationSource [16] => DOMImplementation [17] => DOMNode [18] => DOMNameSpaceNode [19] => DOMDocumentFragment [20] => DOMDocument [21] => DOMNodeList [22] => DOMNamedNodeMap [23] => DOMCharacterData [24] => DOMAttr [25] => DOMElement [26] => DOMText [27] => DOMComment [28] => DOMTypeinfo [29] => DOMUserDataHandler [30] => DOMDomError [31] => DOMErrorHandler [32] => DOMLocator [33] => DOMConfiguration [34] => DOMCdataSection [35] => DOMDocumentType [36] => DOMNotation [37] => DOMEntity [38] => DOMEntityReference [39] => DOMProcessingInstruction [40] => DOMStringExtend [41] => DOMXPath [42] => finfo [43] => LogicException [44] => BadFunctionCallException [45] => BadMethodCallException [46] => DomainException [47] => InvalidArgumentException [48] => LengthException [49] => OutOfRangeException [50] => RuntimeException [51] => OutOfBoundsException [52] => OverflowException [53] => RangeException [54] => UnderflowException [55] => UnexpectedValueException [56] => RecursiveIteratorIterator [57] => IteratorIterator [58] => FilterIterator [59] => RecursiveFilterIterator [60] => CallbackFilterIterator [61] => RecursiveCallbackFilterIterator [62] => ParentIterator [63] => LimitIterator [64] => CachingIterator [65] => RecursiveCachingIterator [66] => NoRewindIterator [67] => AppendIterator [68] => InfiniteIterator [69] => RegexIterator [70] => RecursiveRegexIterator [71] => EmptyIterator [72] => RecursiveTreeIterator [73] => ArrayObject [74] => ArrayIterator [75] => RecursiveArrayIterator [76] => SplFileInfo [77] => DirectoryIterator [78] => FilesystemIterator [79] => RecursiveDirectoryIterator [80] => GlobIterator [81] => SplFileObject [82] => SplTempFileObject [83] => SplDoublyLinkedList [84] => SplQueue [85] => SplStack [86] => SplHeap [87] => SplMinHeap [88] => SplMaxHeap [89] => SplPriorityQueue [90] => SplFixedArray [91] => SplObjectStorage [92] => MultipleIterator [93] => SessionHandler [94] => ReflectionException [95] => Reflection [96] => ReflectionFunctionAbstract [97] => ReflectionFunction [98] => ReflectionParameter [99] => ReflectionMethod [100] => ReflectionClass [101] => ReflectionObject [102] => ReflectionProperty [103] => ReflectionExtension [104] => ReflectionZendExtension [105] => __PHP_Incomplete_Class [106] => php_user_filter [107] => Directory [108] => SimpleXMLElement [109] => SimpleXMLIterator [110] => SoapClient [111] => SoapVar [112] => SoapServer [113] => SoapFault [114] => SoapParam [115] => SoapHeader [116] => PharException [117] => Phar [118] => PharData [119] => PharFileInfo [120] => XMLReader [121] => XMLWriter [122] => ZipArchive [123] => PDOException [124] => PDO [125] => PDOStatement [126] => PDORow [127] => JsonIncrementalParser [128] => mysqli_sql_exception [129] => mysqli_driver [130] => mysqli [131] => mysqli_warning [132] => mysqli_result [133] => mysqli_stmt )

Jakaś podpowiedz.

Pozdrawiam
Go to the top of the page
+Quote Post
viking
post 21.06.2016, 11:48:07
Post #4





Grupa: Zarejestrowani
Postów: 5 394
Pomógł: 916
Dołączył: 30.08.2006

Ostrzeżenie: (0%)
-----


Kali bazuje na Debianie? Widzę pakiet php5-sqlite


--------------------
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 13.11.2019 - 15:37