Fix extension loading on HP-UX (bug #1524776), thanks to Francois Laupretre - flp1.
This commit is contained in:
@@ -6,6 +6,10 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
|
||||||
|
2006-07-18 Michal Čihař <michal@cihar.com>
|
||||||
|
* libraries/common.lib.php: Fix extension loading on HP-UX (bug #1524776),
|
||||||
|
thanks to Francois Laupretre - flp1.
|
||||||
|
|
||||||
2006-07-17 Marc Delisle <lem9@users.sourceforge.net>
|
2006-07-17 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/dbi/mysql.dbi.lib.php:
|
* libraries/dbi/mysql.dbi.lib.php:
|
||||||
bug #1523623, BIGINT auto_increment and mysql extension
|
bug #1523623, BIGINT auto_increment and mysql extension
|
||||||
|
@@ -432,8 +432,11 @@ function PMA_dl($module)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Once we require PHP >= 4.3, we might use PHP_SHLIB_SUFFIX here */
|
||||||
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
||||||
$module_file = 'php_' . $module . '.dll';
|
$module_file = 'php_' . $module . '.dll';
|
||||||
|
} elseif (PHP_OS=='HP-UX') {
|
||||||
|
$module_file = $module . '.sl';
|
||||||
} else {
|
} else {
|
||||||
$module_file = $module . '.so';
|
$module_file = $module . '.so';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user