dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa3216
)
Check if mysql support is available and if not, try to dynamically load it
author
Erik Moeller
<erik@users.mediawiki.org>
Tue, 1 Jul 2003 04:40:56 +0000
(
04:40
+0000)
committer
Erik Moeller
<erik@users.mediawiki.org>
Tue, 1 Jul 2003 04:40:56 +0000
(
04:40
+0000)
(necessary under many installations where the PHP interpreter is not compiled
--with-mysql)
install.php
patch
|
blob
|
history
diff --git
a/install.php
b/install.php
index
333c433
..
164c93c
100644
(file)
--- a/
install.php
+++ b/
install.php
@@
-1,5
+1,12
@@
<?
+if (!extension_loaded('mysql')) {
+ if (!dl('mysql.so')) {
+ print "Could not load MySQL driver! Please compile ".
+ "php --with-mysql or install the mysql.so module.\n";
+ exit;
+ }
+}
# Install software and create new empty database.
#