Reply to Fatal error: Call to undefined function: mysqli_connect()

Your name:

Reply:


Posted by drewmania001 on 02/04/06 08:02

i've read various info on the web including the following

http://php.mirrors.ilisys.com.au/manual/en/ref.mysqli.php

mySQL Version 4.1.16
PHP Version 5.1.2
with Zend Engine v2.1.0
OS Windows NT SERVER(2003) 5.2 build 3790

see http://drew.bounceme.net/phpinfo.php for more details

Configuration File (php.ini) Path C:\WINDOWS\php.ini
sql.safe_mode Off-local Off-master

--------------------------------------------------------------------

when trying to load phpmyadmin i get the following
Cannot load mysql extension

when trying to call msqli_connect() i get the following
Fatal error: Call to undefined function: mysqli_connect()

obviously sql functions have not been loaded for php, so as i
understand it i need to load these at run time.

the problem is i cant get it working!

i've tried the folowing in my php.ini file

extension=php_mysql.dll

but i'm not sure if that will work for my version of sql

should i be using the libmySQL.dll file or a call to this file?

i've also tried dl('libmySQL.dll');

Warning: dl() [function.dl]: Invalid library (maybe not a PHP library)
'libmySQL.dll' in in
C:\mahserver\apache\Apache2\htdocs\web\mesne\sql.php

and dl('php_mysql.dll');

Warning: dl() [function.dl]: Unable to load dynamic library
'C:\mahserver\PHP\extentions\php_mysql.dll'

i know i'm doing lots of the wrong thing but i also know i'm so close!
can anyone tell me how to properly use 'libmySQL.dll' or if i should be
using someting else???

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация