Professional Web Applications Themes

#16053 [Com]: Unable to Load Dynamic Libraries - PHP Development

ID: 16053 Comment by: iandbigejunk at yahoo dot com Reported By: Akhatib at socal dot rr dot com Status: Bogus Bug Type: Dynamic loading Operating System: Windows 2000 Adv Server PHP Version: 4.1.2 New Comment: PHP MYSQL on Windows? Ok so here is what is really going on.... to do with this not found thing. 1. On NT4 (probably all win32's) there is probems with multi-boot and the instalation of the odbc libraries make sure you have the ODBC??.DLL's in the %systemroot% system32 directory. Be ware of the Microsoft install program. (My guess is; becuase my NT box is dual ...

  1. #1

    Default #16053 [Com]: Unable to Load Dynamic Libraries

    ID: 16053
    Comment by: iandbigejunk at yahoo dot com
    Reported By: Akhatib at socal dot rr dot com
    Status: Bogus
    Bug Type: Dynamic loading
    Operating System: Windows 2000 Adv Server
    PHP Version: 4.1.2
    New Comment:

    PHP MYSQL on Windows?

    Ok so here is what is really going on.... to do with this not found
    thing.

    1. On NT4 (probably all win32's) there is probems with multi-boot and
    the instalation of the odbc libraries make sure you have the
    ODBC??.DLL's in the %systemroot% system32 directory.

    Be ware of the Microsoft install program. (My guess is; becuase my
    NT box is dual boot the ODBC dll's went to the C:\ drive.... just a
    guess there (but probably a good one).

    2. the dll will not load (at least on a d: drive) from anyplace but the
    apache 'modules' subdir.

    3. For version 5 an error in the doantation has it all wrong

    here is the correct lines to add to httpd.conf
    LoadModule php5_module modules/php4apache2.dll
    AddType application/x-httpd-php .php

    Note: the php5 module no longer has built in support for mysql ....
    Somtimes its in the cvs snap sometimes its not!

    My vote is MYSQL and IMAP ought to be built in . ALWAYS! but thats my
    opinion.

    So if your looking to MYSQL-PHP on windows problably don't bother with
    the experimental v5 php the 4.3.2 release is best

    still the httpd.conf should have two lines like :

    LoadModule php5_module modules/php4apache2.dll
    AddType application/x-httpd-php .php


    here is a list of files that worked for me

    -----------------------------------------------
    C:\apache-mysql-php win32>dir
    Volume in drive C is WIN_98
    Volume Serial Number is 1538-0ED5

    Directory of C:\apache-mysql-php win32

    08/12/03 01:54p <DIR> .
    08/12/03 01:54p <DIR> ..
    08/12/03 01:57p 9,295,889
    apache_2.0.47-win32-x86-no_ssl.exe
    08/13/03 01:07p 5,556,616 MDAC_TYP.EXE
    08/13/03 05:50p 3,042,853 mysqlcc-0.9.2-win32.zip
    08/11/03 05:46p 22,715,611 mysql-4.0.14b-win.zip
    08/13/03 09:34p 6,268,093
    php4-win32-STABLE-200308140430.zip
    08/13/03 10:02p 40,114 php.ini
    08/13/03 09:43p 34,887 httpd.conf
    9 File(s) 46,954,063 bytes
    363,888,640 bytes free
    -------------------------------------------------


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

    [2002-03-14 04:59:18] [email]sanderphp.net[/email]

    The bug system is not the appropriate forum for asking support
    questions. For a list of a range of more appropriate places to ask
    for help using PHP, please visit [url]http://www.php.net/support.php[/url]



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

    [2002-03-13 20:23:05] Akhatib at socal dot rr dot com

    ok, i installed PHP4.1.2 in C:\PHP4. then i try to run the php.exe, or
    much less, my php scripts and i keep getting about 15 or 16 of these
    warning errors,

    PHP Warning: Unable to load dynamic library 'C:\PHP4/php_pgsql.dll' -
    The specified module could not be found.
    in Unknown on line 0

    but, my dlls, are in PHP4\Extensions, so when i try to change that path
    in the php.ini. i get this message

    The dynamic link Library Libct.dll could not be found in the specified
    path C:\php4;.;C:\winnt\system32;C:\winnt\system;C:\win nt;C:\Program
    Files\InternetExplorer;;C:\winnt\system32;C:\winnt ;C:\winnt\system32\wbem;C:\program
    files\micosoft SQL server\80\tools\binn.

    i get 4 of these messages missing LIBCT.dll, OCI.dll, OCIW32.dll,
    ISQIT09a.dll

    then after that i get an infinate number of these:

    PHP Warning: Function registration failed - duplicate name -
    pg_connect in Unkn
    own on line 0


    please help, iv spent about 6 hours trying to figure this trash out.

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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=16053&edit=1[/url]

    iandbigejunk at yahoo dot com Guest

  2. #2

    Default #16053 [Com]: Unable to Load Dynamic Libraries

    ID: 16053
    Comment by: iandbigejunk at yahoo dot com
    Reported By: Akhatib at socal dot rr dot com
    Status: Bogus
    Bug Type: Dynamic loading
    Operating System: Windows 2000 Adv Server
    PHP Version: 4.1.2
    New Comment:

    here is the changes to the httpd_conf and php.ini files


    ------
    apache httpd.conf
    ....
    ....
    #LoadModule ssl_module modules/mod_ssl.so

    LoadModule php4_module modules/php4apache2.dll
    # AddModule mod_php4.c NOTE: had to comment out
    AddType application/x-httpd-php .php

    #LoadModule php_module modules/php4apache2.dll
    ....
    .....

    NOTE Also apache has a bug you must specify the ip like this


    ....
    ....
    .....# Listen: Allows you to bind Apache to specific IP addresses
    and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    #
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
    #
    Listen 192.168.2.141:80
    #Listen 80
    # *** YOU HAVE TO PUT THE IP AND PORT ON SAME LINE! ***
    #
    # Dynamic Shared Object (DSO) Support
    #
    # To be able ....
    ....
    ....

    This php.ini file has globals off. so if you want to push stuff onto
    the url line turn them on. in php.ini


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

    [2003-08-14 00:38:38] iandbigejunk at yahoo dot com

    PHP MYSQL on Windows?

    Ok so here is what is really going on.... to do with this not found
    thing.

    1. On NT4 (probably all win32's) there is probems with multi-boot and
    the instalation of the odbc libraries make sure you have the
    ODBC??.DLL's in the %systemroot% system32 directory.

    Be ware of the Microsoft install program. (My guess is; becuase my
    NT box is dual boot the ODBC dll's went to the C:\ drive.... just a
    guess there (but probably a good one).

    2. the dll will not load (at least on a d: drive) from anyplace but the
    apache 'modules' subdir.

    3. For version 5 an error in the doantation has it all wrong

    here is the correct lines to add to httpd.conf
    LoadModule php5_module modules/php4apache2.dll
    AddType application/x-httpd-php .php

    Note: the php5 module no longer has built in support for mysql ....
    Somtimes its in the cvs snap sometimes its not!

    My vote is MYSQL and IMAP ought to be built in . ALWAYS! but thats my
    opinion.

    So if your looking to MYSQL-PHP on windows problably don't bother with
    the experimental v5 php the 4.3.2 release is best

    still the httpd.conf should have two lines like :

    LoadModule php5_module modules/php4apache2.dll
    AddType application/x-httpd-php .php


    here is a list of files that worked for me

    -----------------------------------------------
    C:\apache-mysql-php win32>dir
    Volume in drive C is WIN_98
    Volume Serial Number is 1538-0ED5

    Directory of C:\apache-mysql-php win32

    08/12/03 01:54p <DIR> .
    08/12/03 01:54p <DIR> ..
    08/12/03 01:57p 9,295,889
    apache_2.0.47-win32-x86-no_ssl.exe
    08/13/03 01:07p 5,556,616 MDAC_TYP.EXE
    08/13/03 05:50p 3,042,853 mysqlcc-0.9.2-win32.zip
    08/11/03 05:46p 22,715,611 mysql-4.0.14b-win.zip
    08/13/03 09:34p 6,268,093
    php4-win32-STABLE-200308140430.zip
    08/13/03 10:02p 40,114 php.ini
    08/13/03 09:43p 34,887 httpd.conf
    9 File(s) 46,954,063 bytes
    363,888,640 bytes free
    -------------------------------------------------

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

    [2002-03-14 04:59:18] [email]sanderphp.net[/email]

    The bug system is not the appropriate forum for asking support
    questions. For a list of a range of more appropriate places to ask
    for help using PHP, please visit [url]http://www.php.net/support.php[/url]



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

    [2002-03-13 20:23:05] Akhatib at socal dot rr dot com

    ok, i installed PHP4.1.2 in C:\PHP4. then i try to run the php.exe, or
    much less, my php scripts and i keep getting about 15 or 16 of these
    warning errors,

    PHP Warning: Unable to load dynamic library 'C:\PHP4/php_pgsql.dll' -
    The specified module could not be found.
    in Unknown on line 0

    but, my dlls, are in PHP4\Extensions, so when i try to change that path
    in the php.ini. i get this message

    The dynamic link Library Libct.dll could not be found in the specified
    path C:\php4;.;C:\winnt\system32;C:\winnt\system;C:\win nt;C:\Program
    Files\InternetExplorer;;C:\winnt\system32;C:\winnt ;C:\winnt\system32\wbem;C:\program
    files\micosoft SQL server\80\tools\binn.

    i get 4 of these messages missing LIBCT.dll, OCI.dll, OCIW32.dll,
    ISQIT09a.dll

    then after that i get an infinate number of these:

    PHP Warning: Function registration failed - duplicate name -
    pg_connect in Unkn
    own on line 0


    please help, iv spent about 6 hours trying to figure this trash out.

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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=16053&edit=1[/url]

    iandbigejunk at yahoo dot com Guest

Similar Threads

  1. #39870 [NEW]: Unable to load dynamic library
    By j dot ohnheiser at gmx dot de in forum PHP Bugs
    Replies: 1
    Last Post: December 18th, 03:27 PM
  2. HELP Please, Unable to load dynamic library
    By Rob in forum PHP Development
    Replies: 4
    Last Post: February 8th, 09:30 PM
  3. #26129 [Opn->Bgs]: Unable to load dynamic module
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: November 5th, 05:32 AM
  4. #26129 [Opn]: Unable to load dynamic module
    By gman at speakeasy dot net in forum PHP Development
    Replies: 0
    Last Post: November 5th, 04:37 AM
  5. #26129 [NEW]: Unable to load dynamic module
    By gman at speakeasy dot net in forum PHP Development
    Replies: 0
    Last Post: November 5th, 04:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139