Page MenuHomePhabricator

Cannot initiate the installation
Closed, InvalidPublic

Description

Author: dexpro

Description:
Below is the error message which I recieved:

Checking environment...

Warning: dl() [function.dl]: Not supported in multithreaded Web servers -

use extension=mysql.so in your php.ini in C:\Program Files\Apache
Group\Apache2\htdocs\wiki\install-utils.inc on line 17

Could not load MySQL driver! Please compile php --with-mysql or install

the mysql.so module.


Version: 1.5.x
Severity: blocker
OS: Windows 2000
Platform: PC

Details

Reference
bz2104

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 8:29 PM
bzimport set Reference to bz2104.
bzimport added a subscriber: Unknown Object (MLST).

Did you enable the MySQL module in your PHP installation? This is required.
Please see the PHP installation documentation that came with your copy of PHP.

dexpro wrote:

I installed the manually PHP. NOw in all the instructions I went through the
guide and did not get any thing specific on that. Can you tell me where can I
find notes on that?

Look under the heading 'Installation of extensions on Windows' in install.txt for directions.

The particular line you want to change in php.ini is:
extension=php_mysql.dll

If it has a semicolon (;) at the beginning, it's disabled: remove that line and restart the web server.

dexpro wrote:

I am still getting the following error:

Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use
extension=mysql.so in your php.ini in C:\Program Files\Apache
Group\Apache2\htdocs\wiki\install-utils.inc on line 17
Could not load MySQL driver! Please compile php --with-mysql or install the
mysql.so module.

richholton wrote:

(In reply to comment #4)

Unless I'm mistaken, Brion made a typo in his instructions to you -- if you
followed them to the letter you would not have fixed the issue:

Find the line
extension=php_mysql.dll

It begins with a semicolon. Remove that semicolon (not the entire line).

If you have removed the entire line, replace it (minus the semicolon). In my
php.ini file, that line immediately follows the line
;extension=php_msql.dll
I'm not sure that order is significant, but just to be safe...

jeluf wrote:

Closed since this is not a MediaWiki bug, but a PHP installation issue.

aaron.schulz wrote:

content hidden as private in Bugzilla