Creating a Full Zip Install for PCs Using Server2Go
Download and Install Server2Go
- Go to http://www.server2go-web.de/download/download.html
- Download the latest non-experimental package that includes: PHP, SQLite, MySQL, and Perl. The file is in zip format.
- Create a directory to store the files.
- Unzip the files into the newly created directory.
- Run the Server2Go.exe and verify that the Server2Go web page comes up.
- Run the PHP and Perl tests by clicking on the links to verify that they work.
Modify Server2Go Files
- Edit server/config_tpl/httpd.conf to enable mod_rewrite for RealURL:
Remove the # in front of:
LoadModule rewrite_module modules/mon_rewrite.so
Under <Directory "CDPMS:DOCROOT%"> set:
AllowOverride All - Edit server/config_tpl/php.ini and set:
max_execution_time = 300
memory_limit = 64M
post_max_size = 64M
upload_max_filesize = 64M - Edit server/Apache/conf/mime.types
add this to the list to get TYPO3 docs to display:
application/vnd.sun.xml.writer sxw - Replace splash.png with a WEC splash graphic.
- Delete autorun.inf contents with:
[autorun]
OPEN=Start.exe
ICON=logo.ico
ACTION=Run the WEC-TYPO3 Server Software
LABEL=Web-Empowered Church
- Replace logo.ico with the WEC icon file.
- Delete readme.txt because it is not needed.
- Edit pms_config.ini and change:
ServerName=WEC-TYPO3 Server
ShowTrayIcon=1
StartLocal=1
HostName=localhost
DeleteHttpTemp=0
HideTempFolder=0
LocalMirror=0 - Rename Server2Go.exe to Start.exe
- Delete Server2Go.exe.manifest
- Delete all files in the htdocs directory and the dbdir/server2go directory
Download and Install ImageMagick
- Get a TYPO3-compatible copy of ImageMagick from http://typo3.sunsite.dk/software/windows/.
- Download the zip file. The filename should look something like this: imagemagick-win-4.2.9.zip.
- Unzip the files into the root directory where you unzipped the Server2Go files. The unzip will create a directory called ImageMagick.
Download and Install the WEC Starter Package
- Download the zip version of the WEC Starter Package
- Right click on the file and click the Unblock button to speed the unzip.
- Unzip the directories to the htdocs directory
- In htdocs\typo3\install\ rename index.php to index.phpold and rename index.wec to index.php.
- Edit htdocs\typo3conf\localconf.php and if the line exists, change
$TYPO3_CONF_VARS["GFX"]["im_path"] = '/usr/local/bin/';
to
$TYPO3_CONF_VARS['GFX']["im_path"] = PATH_site.'../ImageMagick/';
If the line does not exist in the langconf.php file then add this new line to the bottom of the file instead. - Invoke the local web server by running Start.exe. You will see the WEC spash screen.
- After you click "Okay" on popup warning message, your web browser should show the TYPO3 Install Tool.
- For database parameters, enter:
Username: root
Password:
Host: localhost - Click continue.
- Under "Create new database (recommended)" enter "wectypo3" and click continue.
- Under "Please select a database dump" choose "wec_starter.sql" and click "Import database."
- Click "Continue to configure TYPO3."
- Scroll down and enter "wec" as the new install password, then click "Set new password."
- Click on "5: All Configuration."
- Scroll down to [BE][maxFilesize] and enter 65536.
- Scroll way down and click on the "Write to localconf.php" button to save the change.
- Go to http://localhost:4001/typo3.
- Login with:
Username: admin
Password: password - To avoid the large yellow warning box in the future, click "User Admin" at the left.
- Click the pencil icon next to the admin user. Change the username to "admin" and password to "wec" or set them however you choose. Click the "Save and Exit" icon. Also, set the "basicadmin" and "basicuser" passwords to "wec."
- Click "WEC Config" at the left and "Edit Site Constants" in the upper right.
- Change "Site URL" from "http://demo.webempoweredchurch.org/" to "http://localhost:4001/" and click "Update."
- Click "Clear cache in typo3conf" and "Clear FE cache" at the lower left.
- Try different backend (http://localhost:4001/typo3) and frontend (http://localhost:4001) functions to verify that it looks like everything is working.
- Go to the "WEC Map Admin" tool at the left and enter the "Google Maps API key":
ABQIAAAA63af2eSVYhOhw45cTWq_XBSHE64usXSyzJ7fu46EL8US2odJThTXTVQHJ_HQx9ZkppMy1KMHVkV8Uw
This comes from here: http://www.google.com/maps/api_signup?url=http://localhost:4001/ Click the Update button - Go to the "WEC Config" tool, select "Manage Add-On Features" at the upper right. Scroll down to the bottom Under "Map" click the "Install" button to enable maps on the Frontend.
- Click on WEC eBible Admin at the left and enter EBIBLE_DEMO in the field and then hit the submit button.
- Turn on eBible by clicking Template on the left, then the root page "First Church" in the page tree, then click on "Click here to edit whole template record. Scroll down to Include static (from extensions):" and add WEC eBible (wec_ebible) to the list of static extension.
Patch AWStats to Run in this Configuration
- Go to the following directory:
htdocs\typo3conf\ext\cc_awstats\mod1
Use a text editor that shows line numbers and add the following code to line 266 (which is currently blank) of index.php.
$perl = 'perl.exe';
Note: We expect that future versions of this TYPO3 AWStats extension will not require this change. - Test AWStats by clicking "AWStats" at the lower left then clicking on the "stats.log" filename. This will invoke the full AWStats package.
Version
- Copy the text file in the root directory of a previous install and rename it to reflect the new version number like: wec_starter-4_2_6-1_0_0_fullserver.txt.
Zip the Files and Directories
- Zip the entire directory structure. Grab all files and directories in the directory where Start.exe is located.
- Now the zip file can just be unzipped and a user immediately has a working installation with the WEC Starter Package and TYPO3. Name the zip like: wec_starter-4_2_6-1_0_0_fullserver.zip.

