Page 1 of 1

MediaWiki says PHP is not installed...

PostPosted: 05. August 2008 17:30
by rungewo
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

PostPosted: 05. August 2008 20:50
by Nobbie
>But MediaWiki says PHP is not installed!

MediaWiki is simply lying!

PostPosted: 05. August 2008 22:26
by rungewo
so helpful.. :roll: :cry:

PostPosted: 05. August 2008 22:59
by Nobbie
Go into a MediaWiki Forum and ask there, why MediaWiki is wrong.

PostPosted: 22. August 2008 18:42
by rungewo
* 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?

PostPosted: 22. August 2008 19:04
by w4vy
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.

PostPosted: 22. August 2008 19:23
by rungewo
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!

PostPosted: 22. August 2008 19:27
by w4vy
have you installed apache and mysql as services ?

PostPosted: 04. September 2008 19:30
by rungewo
Yes, both Apache and MySQL are running as services.... problem persists.

PostPosted: 04. September 2008 19:41
by Wiedmann
I've got XAMPP running and everything looks good,
...
* PHP 5.2.6 installed
Could not find a suitable database driver!

phpMyAdmin is working?