Manual talk:Streamlined Windows Install Guide

Hi;

can you please help me with the Mediawiki installation problem. In the last phase of installation, the following warning appeared and stopped further installation.

Warning: dl [function.dl]: Not supported in multithreaded Web servers - use extension=mysql.so in your php.ini in D:\apache\apache2\htdocs\testwiki\install-utils.inc on line 19 Could not load MySQL driver! Please compile php --with-mysql or install the mysql.so module.

vinod.


 * Yeah ... I got the same thing. I've checked the checklist at the bottom, and that doesn't seem to be it ... --Yar Kramer 04:57, 7 June 2006 (UTC)


 * I have been trying to install MediaWiki for over a week now on a WinXP PC following these instructions. The Apache server seems to be working fine. The MySQL server seems to be working fine but when I click on the link to set up the Wiki I get a page that looks like raw PHP, rather than a processed page.


 * I have been through the documentation I don't know how many times, checked, double-checked and checked again that I have made the specified modifications and put the patches in place.

-- Did you see below? If that does not help I am afraid I know no further tips - except maybe have a look at a MediaWiki Forum
 * Do I have no other choice but to give up? --64.9.120.92 15:32, 11 July 2006 (UTC) (novawoman@hotmail.com)


 * I had the same problem and it was because I didn't have installed the mysql extension when installed PHP (by default the installable doesn't check any extension).

dll - problem
Hi, Due to this problem I looked in a lot of places and finally found the special helper I mentioned in the indented box (patched dll). Maybe that problem between Apache and php has been solved and you do not need the patched dll any more? Try replacing it with the original. Just an idea, hope that helps

XAMPP & MediaWiki
hi please help with the XAMPP & MediaWiki- after the install i try to upload pdf files. the upload in the configuration file is set to TRUE and PDF extension is write over there. after the upload i try to open the file (as picture) and i get: "Object not found! the requested URL was not found on this server....etc. Error 404"

thanks

Loni

Using EasyPHP for install
Hi there,

On a previous machine I got Mediawiki running using EasyPHP and all I remember is that it was quite easy to do so. However, right now I get the following:

* PHP 5.2.0 installed Could not find a suitable database driver! o For MySQL, compile PHP using --with-mysql, or install the mysql.so module o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module

Main article here says that adding php_mysql.dll and libmysql.dll to apache/bin should help, but it doesn't. What could be going on?

Cheers tmc

Hi all,

I got the same problem, here it is how i solved:

EasyPHP 1.8 contains php4, but mediawiki needs php5, so the first step is to switch php version to 5, then do some changes manually. 1. Download EasyPHP 1.8 2. Install EasyPHP 1.8, for example to c:\EasyPHP\ 3. Download PHP5 (Windows binairies > zip package) 4. Unzipthe package to c:\EasyPHP\php5 5. Modify c:\EasyPHP\apache\conf\httpd.conf * Replace: o LoadModule php4_module "c:/EasyPHP/php/php4apache.dll" * to: o LoadModule php5_module "c:/EasyPHP/php5/php5apache.dll" * Replace: o AddModule mod_php4.c          * to: o AddModule mod_php5.c          * Add "index.php5" at                o DirectoryIndex index.html index.shtml index.wml index.pwml index.php index.php3 index.php4 index.php5 * Add ".php5" at               o AddType application/x-httpd-php .phtml .pwml .php3 .php4 .php5 .php .php2 .inc 6. Modify "C:/EasyPHP/php.ini" * Replace: o extension_dir = "${path}\php\extensions\" * to: o extension_dir = "${path}\php5\ext\" * Replace: o include_path = "${path}\php\pear\" * to: o include_path = "${path}\php5\PEAR\" * Add: extension=php_mysql.dll 7. Copy c:\EasyPHP\php5\libmysql.dll to c:\windows\system32\ 8. Restart EasyPHP, have fun

I can't create new page by using the URL 'http://www.example.net/wiki/ARTICLE' but 'http://www.example.net/index.php/ARTICLE' is OK.

I'm using XAMPP.

Thank

Parse error during first setup of Wiki
Hi,

I've downloaded and istalled the MediaWiki and have managed to reach the wiki by entering http://localhost/InnovitWiki/index.php :o) But when I click on the link "Please set up the wiki first." I get the following parse error: Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in C:\Programfiler\ApacheSoftwareFoundation\Apache2.2\htdocs\InnovitWiki\includes\Namespace.php on line 44.

Does anyone know why I get this error message? I've checked my configuration (php.ini is copied to the ApacheSoftwareFoundation\Apache2.2\conf folder, httpd.conf point to the same folder: PHPIniDir "C:\Programfiler\ApacheSoftwareFoundation\Apache2.2\conf\", I've added C:\Programfiler\php to my system path variable), but I still can't get it to work.

If you encounter the error "Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING" Upgrade MediaWiki to the last stable version.


 * All current MediaWiki versions work with PHP 5.3 Please upgrade. Platonides 14:15, 28 September 2009 (UTC)