diff options
-rw-r--r-- | docs/configure_server.txt | 51 | ||||
-rw-r--r-- | system.php | 18 |
2 files changed, 69 insertions, 0 deletions
diff --git a/docs/configure_server.txt b/docs/configure_server.txt new file mode 100644 index 000000000..057c4ee82 --- /dev/null +++ b/docs/configure_server.txt @@ -0,0 +1,51 @@ +Server Configuration
+-----------------------------------
+
+Run your server analysis located in the Tidypics Administration section and
+then read through this document.
+
+If you are experiencing errors, please check your server error log. Tidypics
+writes warnings for most upload related problems. You will see something
+along these lines: "Tidypics warning: user exceeded post limit on image upload"
+
+
+
+GD: Elgg requires GD for image resizing. Tidypics uses GD by default for
+resizing. There are two versions GD and GD2. It generally does not matter
+which one you are using and it isn't always apparent which one you are
+running anyways.
+
+ImageMagick: A significantly better image library than GD. It uses less
+memory during resizing. Use this if it is available.
+
+Memory Available to PHP: The amount of RAM available to a single PHP
+process. This can have an effect on how large an image you can resize
+(especially if you are running Tidypics with GD). The best place to
+change it is .htaccess.
+
+Memory Used to Load This Page: This gives you a baseline of how much
+memory is being used to load the Elgg framework and plugins.
+
+Max File Upload Size: The largest file that can be uploaded. You can
+adjust this in .htaccess.
+
+Max Post Size: The largest amount of data that can be submitted. For
+Tidypics, this affects how many large images can be uploaded in a
+single upload. If this is exceeded, nothing is uploaded and the
+user gets an error message. It can be adjusted in .htaccess.
+
+Max Input Time: This is the amount of time PHP will wait for an
+upload to finish. Your users may experience failures if they are
+uploading large images on a poor connection or if your server
+does not have a lot of bandwidth.
+
+Max Execution Time: The longest time a PHP script can run on your
+server. If a user uploads many large images, the resize code may take
+a long time to complete and will be stopped by PHP. If you are seeing
+problems with this, you probably have a slow server.
+
+GD imagejpeg: jpeg resizing with GD
+
+GD imagegif: gif resizing with GD
+
+GD imagepng: png resizing with GD
\ No newline at end of file diff --git a/system.php b/system.php index 82a705932..ef781b92a 100644 --- a/system.php +++ b/system.php @@ -89,7 +89,25 @@ <td><?php echo ini_get('max_execution_time'); ?> s</td> <td>Max time a script will run</td> </tr> + <tr> + <td>GD imagejpeg</td> + <td><?php echo (is_callable('imagejpeg')) ? 'Enabled' : 'Disabled'; ?></td> + <td></td> + </tr> + <tr> + <td>GD imagepng</td> + <td><?php echo (is_callable('imagepng')) ? 'Enabled' : 'Disabled'; ?></td> + <td></td> + </tr> + <tr> + <td>GD imagegif</td> + <td><?php echo (is_callable('imagegif')) ? 'Enabled' : 'Disabled'; ?></td> + <td></td> + </tr> </table> + <div style="margin-top:20px;"> + <a href="<?php echo $CONFIG->url . "mod/tidypics/docs/configure_server.txt"; ?>">Server configuration doc</a> + </div> </div> <?php |