#14017 [Com]: cant load dll

From: Date: Thu, 14 Aug 2003 05:34:14 +0000
Subject: #14017 [Com]: cant load dll
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45900@lists.php.net to get a copy of this message
ID: 14017 Comment by: iandbigejunk at yahoo dot com Reported By: llozano at puj dot edu dot co Status: Closed Bug Type: Unknown/Other Function Operating System: Windws XP PHP Version: 4.0.6 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 ----------------------------------------------------- Hope this helps Ian Stewart The Music Channel Previous Comments: ------------------------------------------------------------------------ [2001-12-02 14:43:03] sander@php.net No feedback. Closing. ------------------------------------------------------------------------ [2001-11-11 10:17:50] mfischer@php.net Error messages in english please. Anyway, the combination of PHP 4.0.6 and loading php_gtk.dll seems odd to be. I gues the library you try to load isn't compiled for the PHP version you try to use it. Where do you got PHP from? Where do you got PHP-GTK from? They'll most likely have to match. - Markus ------------------------------------------------------------------------ [2001-11-11 10:09:30] llozano at puj dot edu dot co Is not possibble load dll files, like php_gd.dll, php_gtk.dll,... I get an error that says: Unable to load dynamic library 'c:\php4\extensions\php_gd.dll' - No se encontró el proceso especificado. I hope somebody can help me with this. Leonardo Lozano Colombia ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14017&edit=1

« previous php.bugs (#45900) next »