PHP and MYSQL
Posted: Tue Jan 11, 2005 6:01 am
Sorry am new to this, I have been followinh examples in a book
I have the latest version of php and mysql running on iis5.
php has been working but when i try to connect to the db using this:-
'$db = new mysqli('localhost', 'bookorama', 'bookorama123', 'books');'
I get this error
'Fatal error: Class 'mysqli' not found in c:\Inetpub\wwwroot\mystuff\chap11\results.php on line 26
PHP has encountered an Access Violation at 0101774D'
---------------------------------------------------------------------
in php.ini
all i have changed is
doc_root = "c:/Inetpub/wwwroot"
extension_dir = "C:/php/ext"
extension=php_gd2.dll
extension=php_imap.dll
extension=php_mysql.dll
extension=php_mysqli.dll
in iis
have extension mapping set
C:\php\php5isapi.dll
------
the extension .dlls are kept in c:\php\ext
can someone please help
I have the latest version of php and mysql running on iis5.
php has been working but when i try to connect to the db using this:-
'$db = new mysqli('localhost', 'bookorama', 'bookorama123', 'books');'
I get this error
'Fatal error: Class 'mysqli' not found in c:\Inetpub\wwwroot\mystuff\chap11\results.php on line 26
PHP has encountered an Access Violation at 0101774D'
---------------------------------------------------------------------
in php.ini
all i have changed is
doc_root = "c:/Inetpub/wwwroot"
extension_dir = "C:/php/ext"
extension=php_gd2.dll
extension=php_imap.dll
extension=php_mysql.dll
extension=php_mysqli.dll
in iis
have extension mapping set
C:\php\php5isapi.dll
------
the extension .dlls are kept in c:\php\ext
can someone please help