Adam and Mark,
I've edited the php.ini which is referenced in phpinfo.php,
but I'm wondering
whether I'm referencing the extension directory correctly.
Is this line correct the way I have written it?
extension_dir= "/usr/lib/php5/20051025/"
During the apache startup process, is a PHP error log
created that I can look
at to see if the extensions were accepted?
Thanks.
Larry
Lawrence Currie
Academy Librarian
California Academy of Sciences
875 Howard St.
San Francisco, CA 94103
(415) 321-8038
fax (415) 321-8633
-----Original Message-----
From: yazlist-bounces lists.indexdata.dk
[mailto:yazlist-bounces lists.indexdata.dk] On Behalf Of Adam
Dickmeiss
Sent: Tuesday, December 19, 2006 11:46 AM
To: Discussion on the YAZ Z39.50 toolkit
Subject: Re: [Yazlist] Getting PHP to Recognize YAZ
Mark Jordan wrote:
> Hi Larry,
>
> Yes, yaz should be listed in the phpinfo output. One
problem I've had is
> that I've edited the wrong php.ini file. Change to root
on your box and do
>
> find / -name php.ini
>
> to see if multiple php.ini's exist.
The exact php.ini that PHP uses under Apache is also listed
in phpinfo
output.
/ Adam
>
> Mark
>
> Currie, Larry wrote:
>> Now I'm trying to get PHP5.1.6 to recognize YAZ.
My php.ini file has
>> the two lines extension=mysql.so and
extension=yaz.so and the
>> extension directory has been specified with the
line "extension_dir=
>> "/usr/lib/php5/20051025/". The two files
mysql.so and yaz.so are in
>> this directory. I have restarted the apache
server. When I look at
>> phpinfo.php, should YAZ be listed in the section
Additional Modules?
>> When I load my php page that uses yaz_connect(), I
am still getting
>> the fatal error "Call to undefined function
yaz_connect() in ...
>> search.php on line ...
>>
>>
>>
>> My installation of yaz seemed to go smoothly; here
are the results of
>> the install command:
>>
>> Build process completed successfully
>>
>> Installing
>>
'/var/tmp/pear-build-root/install-yaz-1.0.7//usr/lib/php5/20
051025/yaz.so'
>>
>>
>> Install ok: channel://pear.php.net/yaz-1.0.7
>>
>>
>>
>> What can you recommend at this point?
>>
>>
>>
>> Thanks.
>>
>>
>>
>> Larry
>>
>>
>>
>> *Lawrence** Currie*
>>
>> Academy Librarian
>>
>> California Academy of Sciences
>>
>> 875 Howard St.
>>
>> San Francisco, CA 94103
>>
>> (415) 321-8038
>>
>> fax (415) 321-8633
>>
>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>> _______________________________________________
>> Yazlist mailing list
>> Yazlist lists.indexdata.dk
>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|