X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=32915200b29054f92bb433f06c6b89087448a393;hb=59750840198008cfd0aa528c0e616ab62bda9516;hp=0240349bb15d1220f2cdd7babdef83c720febabd;hpb=aa1bc6216e61faf5d5000f875f65b86bdb097c03;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index 0240349bb1..32915200b2 100644 --- a/install.php +++ b/install.php @@ -1,4 +1,22 @@ - +. + */ + define('INSTALLDIR', dirname(__FILE__)); function main() @@ -19,12 +37,12 @@ function checkPrereqs() { if (file_exists(INSTALLDIR.'/config.php')) { ?>
Config file "config.php" already exists.
- +Require PHP version 5 or greater.
+ ?>Require PHP version 5 or greater.
Cannot load required extension "= $req ?>".
+ ?>Cannot load required extension:
Cannot write config file to "= INSTALLDIR ?>".
-On your server, try this command:
-chmod a+w = INSTALLDIR ?>- + ?>
Cannot write config file to:
On your server, try this command: chmod a+w
+
Cannot write avatar directory "= INSTALLDIR ?>/avatar/".
-On your server, try this command:
-chmod a+w = INSTALLDIR ?>/avatar/+ ?>
Cannot write avatar directory: /avatar/
On your server, try this command: chmod a+w /avatar/
Enter your database connection information below to initialize the database.
-