ID: 9313
Updated by: cynic
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Apache related
Assigned To: 
Comments:

The extensions that failed to load depend on external libraries that need to be in 
your system's path in order to be found. 

See http://bugs.php.net/?id=9037.

Previous Comments:
---------------------------------------------------------------------------

[2001-02-17 09:27:45] [EMAIL PROTECTED]
I was trying to load php4 extension libraries at startup (editing php.ini). However, 
none of the modules was loaded. the error log was :

 - One of the library files needed to run this application cannot be found.
 in Unknown on line 0
PHP Warning:  Unable to load dynamic library 'd:phpextensions/php_ifx.dll' - O
ne of the library files needed to run this application cannot be found.
 in Unknown on line 0
PHP Warning:  Unable to load dynamic library 'd:phpextensions/php_mssql65.dll'
 - One of the library files needed to run this application cannot be found.
 in Unknown on line 0
PHP Warning:  Unable to load dynamic library 'd:phpextensions/php_oci8.dll' -
One of the library files needed to run this application cannot be found.
 in Unknown on line 0
PHP Warning:  Unable to load dynamic library 'd:phpextensions/php_oracle.dll'
- One of the library files needed to run this application cannot be found.
 in Unknown on line 0
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
PHP Warning:  Unable to load dynamic library 'd:phpextensions/php_sybase_ct.dl
l' - One of the library files needed to run this application cannot be found.
 in Unknown on line 0

I am sure that the path is correct (php is installed on d:/php, extensions in 
d:/php/extensions.)

This is how my php.ini file is configured :

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
include_path    =                   ; UNIX: "/path1:/path2"  Windows: "path1;path2"
doc_root = "d:programs"                                 ; the root of the php pages, 
used only if nonempty
user_dir                =                                       ; the directory under 
which php opens the script using /~username, used only if nonempty
extension_dir   = "d:phpextensions"                             ; directory in which 
the loadable extensions (modules) reside
enable_dl               = On                            ; Whether or not to enable the 
dl() function.
                                                                        ; The dl() 
function does NOT properly work in multithreaded
                                                                        ; servers, 
such as IIS or Zeus, and is automatically disabled
                                                                        ; on them.


;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads    = On                            ; Whether to allow HTTP file uploads
;upload_tmp_dir =                       ; temporary directory for HTTP uploaded files 
(will use system default if not specified)
upload_max_filesize = 2M                    ; Maximum allowed size for uploaded files


;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;
allow_url_fopen = On                ; Wheter to allow trating URLs like http:... or 
ftp:... like files


;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
; if you wish to have an extension loaded automaticly, use the
; following syntax:  extension=modulename.extension
; for example, on windows,
; extension=msql.dll
; or under UNIX,

; extension=msql.so

; Note that it should be the name of the module only, no directory information 
; needs to go here.  Specify the location of the extension with the extension_dir 
directive above.


;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;

extension=php_bz2.dll
extension=php_cpdf.dll
extension=php_curl.dll
extension=php_cybercash.dll
extension=php_db.dll
extension=php_dba.dll
extension=php_dbase.dll
extension=php_domxml.dll
extension=php_dotnet.dll
extension=php_exif.dll
extension=php_fdf.dll
extension=php_filepro.dll
extension=php_gd.dll
extension=php_gettext.dll
extension=php_ifx.dll
extension=php_iisfunc.dll
extension=php_imap.dll
extension=php_interbase.dll
extension=php_java.dll
extension=php_ldap.dll
extension=php_mhash.dll
extension=php_mssql65.dll
extension=php_mssql70.dll
extension=php_oci8.dll
extension=php_openssl.dll
extension=php_oracle.dll
extension=php_pdf.dll
extension=php_pgsql.dll
extension=php_printer.dll
extension=php_sablot.dll
extension=php_snmp.dll
extension=php_sybase_ct.dll
extension=php_yaz.dll
extension=php_zlib.dll


---------------------------------------------------------------------------

[2001-02-17 04:54:23] [EMAIL PROTECTED]
sure. load them in php.ini. this is described in the manual, and the readme file that 
comes with the distro.

---------------------------------------------------------------------------

[2001-02-17 04:50:40] [EMAIL PROTECTED]
May I ask how can I use dll extensions with php4/windows/apache configuration ?

---------------------------------------------------------------------------

[2001-02-17 04:08:21] [EMAIL PROTECTED]
win32 Apache is multithreaded.

---------------------------------------------------------------------------

[2001-02-17 04:06:45] [EMAIL PROTECTED]
I have a problem with uding Dl() function on my Win32/Apache/Php4 server. The error 
message is 'unable to load extension on multithread server'. But Apache isn't 
multithread server, is it ?

---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9313&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to