I use PHP5 in Windows XP Professional with Apache and MySQL installed. I
would like to use MySQL. Now, I cannot use mysql_* functions because
mysql_connect(. ..) returns
Fatal error: Call to undefined function mysql_connect()
PHP is problably not correctly configured to use MySQL. I think so, because
when I open:
localhost/phpinfo.php
I receive no information about MySQL.
So far, I have modified c:\windows\php. ini:
;;;;;;;;;;;;;;; ;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;; ;;;;;;;
extension_dir = "c:/windows"
extension=php_m ysql.dll
extension=php_m ysqli.dll
extension=libmy sql.dll
But it is probably not correct or not enough, I suspect. All *mysql*.dll
files are in c:\windows folder.
Could you help me plase?
/RAM/
would like to use MySQL. Now, I cannot use mysql_* functions because
mysql_connect(. ..) returns
Fatal error: Call to undefined function mysql_connect()
PHP is problably not correctly configured to use MySQL. I think so, because
when I open:
localhost/phpinfo.php
I receive no information about MySQL.
So far, I have modified c:\windows\php. ini:
;;;;;;;;;;;;;;; ;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;; ;;;;;;;
extension_dir = "c:/windows"
extension=php_m ysql.dll
extension=php_m ysqli.dll
extension=libmy sql.dll
But it is probably not correct or not enough, I suspect. All *mysql*.dll
files are in c:\windows folder.
Could you help me plase?
/RAM/
Comment