Hello,
Any suggestions to fix this problem?
I am trying to use PHP YAZ to retrieve data from the Library of Congress.
I get a fatal error using both programs that I have.
Here is a detailed description:
01==Running WindowsXP SP2
02==Installed XAMPP Windows 1.6.0a
February 22th 2007
[Basic package]
Apache HTTPD 2.2.4,
MySQL 5.0.33,
PHP 5.2.1 + 4.4.5 + PEAR + Switch,
Openssl 0.9.8d,
phpMyAdmin 2.9.2,
XAMPP Control Panel 2.4,
Webalizer 2.01-10,
Mercury Mail Transport System für Win32 und NetWare Systems v4.01a,
FileZilla FTP Server 0.9.22,
SQLite 2.8.15,
ADODB 4.93a,
Zend Optimizer 3.2.2,
XAMPP Security.
For Windows 98, 2000, XP.
03==Added Shelfwire folder and files
http://sourceforge.net/projects/shelfwire/
04==Main paths:
D:\php\xampp\apache\bin\yaz.dll 352KB
D:\php\xampp\htdocs
D:\php\xampp\htdocs\shelfwire
D:\php\xampp\mysql
D:\php\xampp\php\yaz.dll 352 KB
D:\php\xampp\php\ext\php_yaz.dll 45KB (PHP5 extensions folder)
D:\php\xampp\php\extensions\php_yaz.dll 32KB (PHP4 extensions folder)
D:\php\xampp\php\php4\Yaz.dll
05==Modified File:D:\php\xampp\htdocs\shelfwire\mysql.connect.php
from
$host = "localhost";
$database = "shelfwire";
$user = "root";
$password = "";
to
$host = "localhost";
$database = "shelfwire";
$user = "root";
$password = "";
restart Apache (not as service)
Opened
localhost/shelfwire/index.php
Connected to database
Handed to
localhost/shelfwire/addresults.php
Fatal error: Call to undefined function yaz_connect() in D:\php\xampp\htdocs\shelfwire\addresults.php on line 90
06==Modified File:D:\php\xampp\apache\bin\php.ini
from
;extension=php_yaz.dll ; Module make problems
to
extension=php_yaz.dll ; Module make problems
same error
07==Modified File:
D:\php\xampp\apache\bin\php.ini
from
include_path = ".;D:\php\xampp\php\pear\"
to
include_path = ".;D:\php\xampp\php\pear\;D:\php\xampp\php\yaz.dll\"
same error
08==Moved php_yaz.dll
from
D:\php\xampp\php\ext\php_yaz.dll
to
C:\WINDOWS\system32\php_yaz.dll
same error