MediaWiki Install Issue...
Moderator: General Moderators
MediaWiki Install Issue...
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
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
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
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
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 theMaugrim_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
;extension=php_mysql.dll to extension=php_mysql.dll in the php.ini and still getting this error....
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
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 isMaugrim_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).
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...?
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Try scrolling down the page...you should see something like:
mysqli or mysql - one or both...
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 OffNothing like that on the info page which doesn't make sense...I uncommented everything in the php.ini restarted IIS ect..... ??? I'm so lostMaugrim_The_Reaper wrote:Try scrolling down the page...you should see something like:
mysqli or mysql - one or both...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