DonB
|
| Posted: 07/14/2005, 6:58 AM |
|
A heads up. PHP5 on Windows with MySQL can refuse to connect to your
database via the CCS db_mysql or db_mysqli classes.
There is something amiss in the way PHP loads php_mysql.dll and the
libmysql.dll files. If libmysql.dll is NOT found on the system path, it
causes mysql_connect() and mysql_pconnect() to be 'undefined' functions.
This only gets reported if the PHP.ini setting 'display_startup_errors' is
set to "On".
I had been struggling with seeing completely-blank pages (empty, 0 bytes,
nada) when I'd do a 'view page source' in the browser, although simpler
test pages were fine. One of these test also used a loadable module
(php_mcrypt) yet it loaded and ran just fine.
The problem and solution are discussed in detail here: http://bugs.php.net/bug.php?id=33356
I simply put libmysql.dll into windows/system32 to get it working, but I'm
going back and edit the system path to include my php folder.
--
DonB
http://www.gotodon.com/ccbth
|
|
|
 |
RonB
Posts: 228
|
| Posted: 07/15/2005, 5:32 AM |
|
putting them in the apache root also worked for me.
|
 |
 |
|