php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26034 Unable to load extensions
Submitted: 2003-10-30 02:41 UTC Modified: 2003-10-30 05:01 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: v_santhanam at amrita dot edu Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.3.3 OS: Redhat Linux 9.0
Private report: No CVE-ID: None
 [2003-10-30 02:41 UTC] v_santhanam at amrita dot edu
Description:
------------
i am trying to use the rlib php extension ( http://rlib.sicompos.com/) libr-php.so. I have made an entry in php.ini as follows:
  extension=libr-php.so
  When i use "php -m" in /usr/local/lib i get the rlib extension listed. But when i try "php -m" else where i get the following error :
-----------------------------------------------------------
PHP Warning:  Unknown(): Unable to load dynamic library './libr-php.so' - ./libr-php.so: cannot open shared object file: No such file or directory in Unknown on line 0
---------------------------------------------------------

Please kindly help me.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-30 04:05 UTC] edink@php.net
This is not a PHP bug. You should probably chech extension_dir directive in your php.ini. 
 [2003-10-30 04:21 UTC] v_santhanam at amrita dot edu
Thanks fo your response

In php.ini file, 
        extension_dir = "./"
      
 I have linked the file libr-php.so to libr-php-1.1.2.so which is in /usr/local/lib/php/extensions/no-debug-non-zts-20020429/. The location of php.ini is /usr/local/lib.
      When i execute "php -m" in /usr/local/lib, rlib module is listed. Elsewhether it is not listed.
     Please kindly help me.
Thanks in advance.
 [2003-10-30 05:01 UTC] edink@php.net
Your extension_dir should be /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ then. And please ask support questions in the appropriate forum. See http://www.php.net/support for details.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC