Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Używanie DBM w php 5
Forum PHP.pl > Forum > PHP
Martio
Jak wygląda używanie DBM w php 5? Na XAMPP-ie z php 5.1.x kiedy robię
  1. <?php
  2. dba_popen('test.dbm', "c", "gdbm")
  3. ?>
wyświetla mi, że używam nieznaną funkcję. Natomiast na serwerze na Progreso również z php 5.1.x aplikacja zawiesza się na linijce z tym kodem, bez wyświetlenia nazwy.

W manualu jest napisane, że działa pod php 5:
http://pl2.php.net/manual/pl/function.dba-popen.php

A więc jak jest z tą funkcją?
cadavre
Extension w php masz włączony?
Martio
Odkomentowałem. Mam XAMPP oraz Windows. Co muszę jeszcze zrobić? Przegrać gdzieś dba.dll?
DeyV
Cytat(manual)
After configuring and compiling php you must execute the following test from commandline: php run-tests.php ext/dba. This shows whether your combination of handlers works. Most problematic are dbm and ndbm which conflict with many installations. The reason for this is that on several systems these libraries are part of more than one other library. The configuration test only prevents you from configuring malfaunctioning single handlers but not combinations.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.