This section of the guide is for those who are familiar with setting up and administrating web servers (IIS and/or APACHE are recommended). You should also be familiar with installing and configuring the server with PHP. PHP can be downloaded from www.php.net.
Anywhere Together Software built its applications based on their PHP sniPEAR Open Source Framework.
System Prerequisites
The system should be running PHP5.0.3 or later. For web server software, the following is recommended: IIS5.0 or later or Apache 2.0 or later. Apache can be downloaded from www.apache.org.
If the web server is running in threaded mode then the php.ini file should be accessible, as it will need to be updated to include the encoding extensions. These extensions are used to run certain encrypted files.
To check how your system is running install the software and, through your browser, navigate to the
“installpath>/filestogether/ioncube/ ioncube-loader-helper.php”. This will advise you how to install the loader extensions on your server should that be required.
PHP
Our automated install will put the correct ioncube loader dll onto your machine (where possible) in the php ext folder (If doing a manual install then the correct loader dll will have to be copied here manually from the ioncube folder). It does NOT update the php.ini file. This must be done manually by a system administrator.
Either dynamic loading must be enabled on the system (Off by default)
enable_dl = On
of the following line should be added in
zend_extension_ts=therelevantloaderfile.dll/so
(Launch the location "filestogether/ioncube/ioncube-loader-helper.php" in your browser after installation for instructions on installing the relevent loader)
See www.ioncube.com for details of how their loader software works and for complete list of loaders available.
Platform
Windows
Unzip the package to your server. It is recommended that you do this under the "c:\program files" folder. This the path used by
the examples and initial system defaults.
Linux
Unzip the package to your server.
Extract the file zip contents to a folder on your server
You should have downloaded this zip file from the web site http://www.anywheretogether.com
Apache web server configuration
Insert the following (with the appropriate <installpath> set) into your apache configuration file (httpd.conf). You may need to re-start the apache web server for the settings to take effect.
You do NOT need to insert any of the comments:
(apache comment lines begin with a #)
Security Note: The configuration also prevents the ini files from being downloaded and it is recommended that this is maintained and checked.
Alias /filestogether "<installpath>\anywheretogether\applications\filestogether"
#
# Example
#Alias /filestogether "C:\Program Files\anywheretogether\applications\filestogether"
<Directory "<installpath>\anywheretogether\applications\filestogether">
<FilesMatch \.(?i:ini|INI)$>
Order allow,deny
Deny from all
</FilesMatch>
Options MultiViews
DirectoryIndex index.php
Order allow,deny
Allow from all
</Directory>
#
# Example
#<Directory "C:\Program Files\anywheretogether\applications\filestogether">
# <FilesMatch \.(?i:ini|INI)$>
# Order allow,deny
# Deny from all
# </FilesMatch>
# Options MultiViews
# DirectoryIndex index.php
# Order allow,deny
# Allow from all
#</Directory>
#
IIS web server configuration




Next you need to set the default page for the virtual folder, as follows:

From here add in the “filestogether.php” file.
Finally you need to allow the IIS user (IUSR_machinename) permissions to update the files together settings folder. This is the <installpath>anywheretogether/settings/filestogether folder.
See also here for additional IIS configuration.
Your system is now set up.
![]()