View Full Version : error abt my sql_connect
11-27-2006, 10:41 AM
the error show by the webserver is
Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\subzero1\include\db_mysql.inc on line 68
for the code
pls tell me wht to do
11-27-2006, 11:02 AM
It means that you did not load the mysql extension. You have to enable it in the php.ini. Without the extension you won't be able to connect to a MySQL database using mysql_* functions.
11-27-2006, 11:11 AM
now its saying
PHP Startup: Unable to load dynamic library './php_mysql.dll' - The specified procedure could not be found. in Unknown on line 0
pls tell me in detail wht 2 do
11-27-2006, 11:35 AM
Most probably, you need to move the file "libmysql.dll" to a folder accessible from you systems PATH. C:\WINDOWS\system32\ is one such location. The dll is included with the PHP binary distribution (without the installer).
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.