PHP 4.0 Bug #9313 Updated: considering Apache multithread server
| From: | ergond at gmx dot net | Date: | Sat, 17 Feb 2001 14:27:45 +0000 |
| Subject: | PHP 4.0 Bug #9313 Updated: considering Apache multithread server | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46783@lists.php.net to get a copy of this message | ||
ID: 9313
User Update by: ergond@gmx.net
Status: Closed
Bug Type: Apache related
Description: considering Apache multithread server
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:\php\extensions/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:\php\extensions/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:\php\extensions/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:\php\extensions/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:\php\extensions/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:\php\extensions" ; 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
Previous Comments:
---------------------------------------------------------------------------
[2001-02-17 04:54:23] cynic@php.net
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] ergond@gmx.net
May I ask how can I use dll extensions with php4/windows/apache configuration ?
---------------------------------------------------------------------------
[2001-02-17 04:08:21] cynic@php.net
win32 Apache is multithreaded.
---------------------------------------------------------------------------
[2001-02-17 04:06:45] ergond@gmx.net
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 ?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9313