CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Warning: PHP5 on Windows with MySQL

Print topic Send  topic

Author Message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.