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 documantation 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 PROTECTED]

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 http://www.php.net/support.php



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

[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:\winnt;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 http://bugs.php.net/?id=16053&edit=1

Reply via email to