mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Setup wasnt detecting postgresql or mysql on php-3.0.16
This commit is contained in:
parent
06be3c35e2
commit
b38edbd52f
@ -43,19 +43,19 @@
|
|||||||
// this dont work with PHP 3.0.10 and lower !
|
// this dont work with PHP 3.0.10 and lower !
|
||||||
|
|
||||||
$supported_db = array();
|
$supported_db = array();
|
||||||
if(extension_loaded("mysql")) {
|
if (extension_loaded("mysql") || function_exists("mysql_connect")) {
|
||||||
echo "You appear to have MySQL support enabled<br>\n";
|
echo "You appear to have MySQL support enabled<br>\n";
|
||||||
$supported_db[] = "mysql";
|
$supported_db[] = "mysql";
|
||||||
} else {
|
} else {
|
||||||
echo "No MySQL support found. Disabling<br>\n";
|
echo "No MySQL support found. Disabling<br>\n";
|
||||||
}
|
}
|
||||||
if(extension_loaded("pgsql")) {
|
if (extension_loaded("pgsql") || function_exists("pg_connect")) {
|
||||||
echo "You appear to have Postgres-DB support enabled<br>\n";
|
echo "You appear to have Postgres-DB support enabled<br>\n";
|
||||||
$supported_db[] = "pgsql";
|
$supported_db[] = "pgsql";
|
||||||
} else {
|
} else {
|
||||||
echo "No Postgres-DB support found. Disabling<br>\n";
|
echo "No Postgres-DB support found. Disabling<br>\n";
|
||||||
}
|
}
|
||||||
if(extension_loaded("oci8")) {
|
if (extension_loaded("oci8")) {
|
||||||
echo "You appear to have Oracle V8 (OCI) support enabled<br>\n";
|
echo "You appear to have Oracle V8 (OCI) support enabled<br>\n";
|
||||||
$supported_db[] = "oracle";
|
$supported_db[] = "oracle";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user