Page 1 of 1
MediaWiki Install Issue...
Posted: Mon Oct 02, 2006 10:19 am
by irishfury
Mediawiki 1.71
When I go to the config/index.php to do the install this is the error I get for a Win 2003 install...
MediaWiki 1.7.1 Installation
Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.
Checking environment...
Please include all of the lines below when reporting installation problems.
PHP 5.1.6 installed Could not find a suitable database driver!
For MySQL, compile PHP using --with-mysql, or install the mysql.so module
For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module
Posted: Mon Oct 02, 2006 10:28 am
by Maugrim_The_Reaper
Shut down Apache/IIS
Locate php.ini
Remove any semi-colon character from the mysqli extension (and check extension dir is set correctly)
Restart Apache/IIS
Write a quick mysqli test (see the PHP Manual for a really quick example)
If you need to use mysql4 (not 4.1 or greater) then repeat for the mysql extension...
There are lots of tutorials on installing PHP with MySQL - check Google.
Greetings from Ireland

Posted: Mon Oct 02, 2006 10:32 am
by irishfury
Maugrim_The_Reaper wrote:Shut down Apache/IIS
Locate php.ini
Remove any semi-colon character from the mysqli extension (and check extension dir is set correctly)
Restart Apache/IIS
Write a quick mysqli test (see the PHP Manual for a really quick example)
If you need to use mysql4 (not 4.1 or greater) then repeat for the mysql extension...
There are lots of tutorials on installing PHP with MySQL - check Google.
Greetings from Ireland

Thanks for the quick response.....I am working with IIS...and I did chang the
;extension=php_mysql.dll to extension=php_mysql.dll in the php.ini and still getting this error....
Posted: Mon Oct 02, 2006 10:56 am
by Maugrim_The_Reaper
Have you restarted IIS? You need to stop and restart IIS after any php.ini changes. Double check that you edited the correct php.ini (add
phpinfo() to a PHP file and it will output a page full of information on your PHP version and loaded extensions).
Posted: Mon Oct 02, 2006 11:09 am
by irishfury
Maugrim_The_Reaper wrote:Have you restarted IIS? You need to stop and restart IIS after any php.ini changes. Double check that you edited the correct php.ini (add
phpinfo() to a PHP file and it will output a page full of information on your PHP version and loaded extensions).
Yes I restarted IIS under services.....in the php info the only thing I see related to mysql is
NUMBER_OF_PROCESSORS 2
OS Windows_NT
Path C:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\php;C:\Program Files\MySQL\MySQL Server 5.0\bin
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 15 Model 3 Stepping 4, GenuineIntel
PROCESSOR_LEVEL 15
PROCESSOR_REVISION 0304
ProgramFiles C:\Program Files
SystemDrive C:
SystemRoot C:\WINDOWS
TEMP C:\WINDOWS\TEMP
TMP C:\WINDOWS\TEMP
USERPROFILE C:\Documents and Settings\Default User
windir C:\WINDOWS
??? what am I missing...?
Posted: Mon Oct 02, 2006 11:24 am
by Maugrim_The_Reaper
Try scrolling down the page...you should see something like:
Code: Select all
Client API library version 5.0.24a
Client API header version 5.0.24a
MYSQLI_SOCKET /tmp/mysql.sock
Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
mysqli or mysql - one or both...
Posted: Mon Oct 02, 2006 11:54 am
by irishfury
Maugrim_The_Reaper wrote:Try scrolling down the page...you should see something like:
Code: Select all
Client API library version 5.0.24a
Client API header version 5.0.24a
MYSQLI_SOCKET /tmp/mysql.sock
Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
mysqli or mysql - one or both...
Nothing like that on the info page which doesn't make sense...I uncommented everything in the php.ini restarted IIS ect..... ??? I'm so lost

Posted: Mon Oct 02, 2006 4:29 pm
by irishfury
after going thru and removing all extra libmysql.dll and moving php.ini from c:/php to C:/windows I actually got mysqli.dll to report back in the php info but still getting same error......
Posted: Tue Oct 03, 2006 3:21 pm
by irishfury
bump