mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Update instructions on using a PHP server, directing to a live website. (#2669)
Adding note about increasing maximum upload size.
This commit is contained in:
parent
352d7d664c
commit
ed1a7e73cd
@ -1,15 +1,16 @@
|
||||
created: 20140111091844267
|
||||
modified: 20160610082607695
|
||||
modified: 20161219200127042
|
||||
tags: Saving
|
||||
title: Saving on a PHP Server
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
The built-in TiddlySpot saver can also be used to save changes to a simple PHP script that you can run on most hosting providers.
|
||||
The built-in `TiddlySpot `saver can also be used to save changes to a simple PHP script that you can run on most hosting providers.
|
||||
|
||||
//These are preliminary instructions that need verification//
|
||||
|
||||
# Download a copy of ''store.php'' from:
|
||||
#* https://code.google.com/p/bidix/source/browse/trunk/TiddlyHome/_th/lib/store.php
|
||||
# Download a copy of `TiddlyHome_0.1.2.zip` from https://code.google.com/archive/p/bidix/downloads
|
||||
# Unzip.
|
||||
# Extract a copy of `store.php` from under the unzipped subdirectory `_th\lib`
|
||||
# Edit your copy of ''store.php'' to add your username(s) and password(s). Find the line `$USERS = array( 'UserName1'=>'Password1', etc)` and replace Username1 and Password1 with your desired username and password
|
||||
#* Make sure you leave all the punctuation and code, such as the single quotes, intact
|
||||
# Save the file
|
||||
@ -27,3 +28,12 @@ The control panel ''Saving'' tab includes the following configuration options:
|
||||
|Upload filename |The filename used to save the TiddlyWiki (defaults to ''index.html'') |
|
||||
|Upload directory |The relative path from ''store.php'' to the directory used for saving the file |
|
||||
|Backup directory |The relative path from ''store.php'' to the directory used for backups |
|
||||
|
||||
!!! Note about maximum size
|
||||
|
||||
As your TW file increases in size, you may need to modify your `.htaccess` or `htaccess` file (depending on system) to increase the value of the maximum upload and/or post size. Check with your Web Host Provider for your particular settings. Be sure also to make backups before experiementing. On some systems, the settings might look like:
|
||||
|
||||
```
|
||||
php_value upload_max_filesize 4M
|
||||
php_value post_max_size 6M
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user