X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=319c261e418514f890e87152c709bc652945accc;hb=2c1af973bbe285b373ede9944330444d85772625;hp=c2a5bb29ee394f392abe062ebf355f6d64b5fecc;hpb=7bd65a7b86d7d694d28e81f7d6897cbefd9d9e1d;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index c2a5bb29ee..319c261e41 100644 --- a/install.php +++ b/install.php @@ -1,3 +1,4 @@ + * @author Tom Adams * @license GNU Affero General Public License http://www.gnu.org/licenses/ - * @version 0.9 + * @version 0.9.x * @link http://status.net */ @@ -340,13 +341,13 @@ function checkExtension($name) if (extension_loaded($name)) { return true; } elseif (function_exists('dl') && ini_get('enable_dl') && !ini_get('safe_mode')) { - // dl will throw a fatal error if it's disabled or we're in safe mode. - // More fun, it may not even exist under some SAPIs in 5.3.0 or later... - $soname = $name . '.' . PHP_SHLIB_SUFFIX; - if (PHP_SHLIB_SUFFIX == 'dll') { - $soname = "php_" . $soname; - } - return @dl($soname); + // dl will throw a fatal error if it's disabled or we're in safe mode. + // More fun, it may not even exist under some SAPIs in 5.3.0 or later... + $soname = $name . '.' . PHP_SHLIB_SUFFIX; + if (PHP_SHLIB_SUFFIX == 'dll') { + $soname = "php_" . $soname; + } + return @dl($soname); } else { return false; } @@ -371,7 +372,7 @@ function showLibs() } echo<< -

Laconica comes bundled with a number of libraries required for the application to work. However, it is best that you use PEAR or you distribution to manage +

StatusNet comes bundled with a number of libraries required for the application to work. However, it is best that you use PEAR or you distribution to manage libraries instead, as they tend to provide security updates faster, and may offer improved performance.

On Debian based distributions, such as Ubuntu, use a package manager (such as "aptitude", "apt-get", and "synaptic") to install the package listed.

On RPM based distributions, such as Red Hat, Fedora, CentOS, Scientific Linux, Yellow Dog Linux and Oracle Enterprise Linux, use a package manager (such as "yum", "apt-rpm", and "up2date") to install the package listed.

@@ -383,7 +384,7 @@ E_O_T; foreach ($absent_libraries as $library) { echo '
  • '; if (isset($library['url'])) { - echo ''.htmlentities($library['name']).''; + echo ''.htmlentities($library['name']).''; } else { echo htmlentities($library['name']); } @@ -407,7 +408,7 @@ E_O_T; foreach ($present_libraries as $library) { echo '
  • '; if (isset($library['url'])) { - echo ''.htmlentities($library['name']).''; + echo ''.htmlentities($library['name']).''; } else { echo htmlentities($library['name']); } @@ -438,7 +439,7 @@ function showForm()

    Enter your database connection information below to initialize the database.

    -

    Laconica bundles a number of libraries for ease of installation. You can see what bundled libraries you are using, versus what libraries are installed on your server. +

    StatusNet bundles a number of libraries for ease of installation. You can see what bundled libraries you are using, versus what libraries are installed on your server.