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 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 ------------------------------------------------- ------------------------------------------------------------------------ [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