List Info

Thread: Getting PHP to Recognize YAZ




Getting PHP to Recognize YAZ
user name
2006-12-19 18:31:27

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/20051025/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

 

Getting PHP to Recognize YAZ
user name
2006-12-19 18:41:01
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.

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
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

-- 
Mark Jordan
Head of Library Systems
W.A.C. Bennett Library, Simon Fraser University
Burnaby, British Columbia, V5A 1S6, Canada
Phone (604) 291 5753 / Fax (604) 291 3023
mjordansfu.ca / http://www.sfu.ca/~mjorda
n/

Don't miss the First International PKP Scholarly Publishing
Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
Getting PHP to Recognize YAZ
user name
2006-12-19 19:46:08
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
>> Yazlistlists.indexdata.dk
>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
> 


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )