MediaWiki says PHP is not installed...

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MediaWiki says PHP is not installed...

Postby rungewo » 05. August 2008 17:30

Hey,
I am using XAMPP for a webserver for a Wiki software called MediaWiki. I've got XAMPP running and everything looks good, I can access it via my IP address and the control panel claims that apache, mysql, filezilla, and mercury are all running. But MediaWiki says PHP is not installed!

I just went through the normal installation for XAMPP, and let it install everything on it's own. Is there something special I need to do to make PHP work?

Thanks!

-Will
rungewo
 
Posts: 5
Joined: 05. August 2008 17:28

Postby Nobbie » 05. August 2008 20:50

>But MediaWiki says PHP is not installed!

MediaWiki is simply lying!
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Postby rungewo » 05. August 2008 22:26

so helpful.. :roll: :cry:
rungewo
 
Posts: 5
Joined: 05. August 2008 17:28

Postby Nobbie » 05. August 2008 22:59

Go into a MediaWiki Forum and ask there, why MediaWiki is wrong.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Postby rungewo » 22. August 2008 18:42

* PHP 5.2.6 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


Does this mean anything to you guys?
rungewo
 
Posts: 5
Joined: 05. August 2008 17:28

Postby w4vy » 22. August 2008 19:04

Have a look inside your httpd.conf file and check to see if LoadModule mysql_auth_module modules/mod_auth_mysql.so is commented out like so:-

#LoadModule mysql_auth_module modules/mod_auth_mysql.so

If so you need to uncomment it so it is turned on.

Hope that helps you.

Regards, w4vy

EDIT: Also have a look inside youe PHP.ini file and check to see if extension=php_mysql.dll is commented out there like so :-

;extension=php_mysql.dll

If so just uncomment it and then Restart apache after either file edits.
Image
User avatar
w4vy
 
Posts: 153
Joined: 04. June 2008 09:58
Location: England

Postby rungewo » 22. August 2008 19:23

In httpd.conf, lines are commented out with #, right? I removed the # in front of the following line:

#LoadModule mysql_auth_module modules/mod_auth_mysql.so

But now my apache server won't seem to run; I hit "Start" in the xampp cp, and it responds,
Busy....
Apache service started


And the apache webserver is no longer accessible online via my IP.

wtf?

Also, I couldn't find the line:
extension=php_mysql.dll anywhere in my PHP.ini document....

the closest thing was:
;extension=php_msql.dll


Any thoughts?
Thanks!
rungewo
 
Posts: 5
Joined: 05. August 2008 17:28

Postby w4vy » 22. August 2008 19:27

have you installed apache and mysql as services ?
Image
User avatar
w4vy
 
Posts: 153
Joined: 04. June 2008 09:58
Location: England

Postby rungewo » 04. September 2008 19:30

Yes, both Apache and MySQL are running as services.... problem persists.
rungewo
 
Posts: 5
Joined: 05. August 2008 17:28

Postby Wiedmann » 04. September 2008 19:41

I've got XAMPP running and everything looks good,
...
* PHP 5.2.6 installed
Could not find a suitable database driver!

phpMyAdmin is working?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests