Installed PHP 5.1.6
IIS 5.1
Mysql
when I lunch http:/ipaddress/install.php
during the check test it says that mysql is "not available"
But through mysql administrator I can login and see everything.
Any suggestion pls ???
Bye
Installed PHP 5.1.6
IIS 5.1
Mysql
when I lunch http:/ipaddress/install.php
during the check test it says that mysql is "not available"
But through mysql administrator I can login and see everything.
Any suggestion pls ???
Bye
AS you're using the windows version of php, make sure you have the mysql module enabled in the php.ini file (look for the commented out reference to mysql.dll). you'll need to restart the webserver after the change to the ini file.
mhh
sorry still getting same error !
I take out the comment from
extension = php_mysql.dll
any other suggestion is appreciated pls
Bye
Yes - create a file called phpinfo.php with the contents:
Place it in an accessible part of the web server and browse to it. It will give all details of loaded modules and location of the php.ini file being used. Will help confirm details.Code:<?php phpinfo(); ?>
Al;so, make sure the php_mysql.dll file is in the correct location.
the php_mysql.dll was in the original position when I installed php.
Should be in the first position of the extensions or what ?
Thank you very very much
i do not see any mysql result when I query the php version etc.
maybe php is not loading the mysql extension ?
Sorry - no, I mean make sure the php_mysql.ini file is in a place on the web server where it can be read. You're right, it looks like it's not being loaded.
This might help:
http://www.ee99ee.com/blog/?p=7
sorry but i do not have php_mysql.ini !!!
not enought coffee so far this morning - I mean the php_mysql.dll file
sorry i can suggest you some very good italian pasta !!!
i will carry on with tests in the afternoon.
Bye
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks