Re: PHP4+mysql+apache on win98

From: Date: Fri, 13 Oct 2000 13:39:20 +0000
Subject: Re: PHP4+mysql+apache on win98
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3226@lists.php.net to get a copy of this message
Serkan wrote: > Can someone tell me what I gotta do to install Mysql proberly... > At this moment apache/php4 is running fine on win98....I installed mysql..but when I > use dbmopen(any db, "c") ....I get an error message..."undefined > function"....and I dont have any php_mysql.dll file... > I do have PHP_MSSQl.dll file...should I use this everywhere where php_mysql.dll file is > required ???.. > Maybe someone knows a site where the installation is explained step by step..or can someone > mail me the steps I gotta do. 1) MySQL functions are accessed via mysql_* functions, not dbm* functions... Look at all the MySQL functions on php.net - http://www.php.net/manual/ref.mysql.php 2) MySQL support is built-in to php4... you don't need to load ANY extensions. Just make the appropriate calls to the functions listed above (on php.net) 3) PHP_MSSQL is the extension for Microsoft (MS) SQL server, not MySQL... I know, I've made that assumption on many occasions :) If you've installed MySQL according to their basic instructions, then the mysql_* function calls should connect to your database fine... give it a try, and let us know what you get. -- Andy Hoffman Web Developer Bristol-Myers Squibb email: andy.hoffman@bms.com

« previous php.windows (#3226) next »