SpryPanel Documentation -> 1.3. Installation
SpryPanel Documentation | 1.3. Installation
This page of the SpryPanel documentation will guide you through the
SpryPanel installation process. SpryPanel has been designed to be very
easy and quick to install, even for those with little or no server
programming or database scripting knowledge, thorough a four step
process.
- Unpack SpryPanel from the file you downloaded (unzip the archive)
- Modify the 'site_prefs.php' in 'sprypanel' -> 'sprypanel_system' with your MySQL and web-site details
- Upload the 'sprypanel' directory to your http document root on your web-server
- Load SpryPanel through your web-browser at http://www.your_site.com/sprypanel. Then register it with your 20 digit code and create a user account.
These steps are explained in more detail below. We will assume at this point that you have successfully downloaded the SpryPanel archive, after your purchase of it. At this point you will also have been e-mailed a license key, which will be needed later on in the installation process.
1. The first step you need to do is to unpack the SpryPanel archive you downloaded. There are several extraction tools available for all platforms and you probably already have at least one on your computer, if not http://www.stuffit.com is a good place to start. Once you have extracted the archive, you will have a directory (folder) called 'sprypanel' where you unpacked it. This contains all the files needed to run SpryPanel.
This file contains all the basic information that SpryPanel needs to access your database server. Under the MySQL server heading:
$sp_db_user - The user name that you use to access your MySQL server account
$sp_db_pass - The password that you use to access your MySQL server account
$sp_db - The database name that SpryPanel will use
$sp_db_server - The server where your MySQL database is (this can be an IP address or a domain name)
$sp_db_pass - The password that you use to access your MySQL server account
$sp_db - The database name that SpryPanel will use
$sp_db_server - The server where your MySQL database is (this can be an IP address or a domain name)
For example you might have a 'site_prefs.php' file that looks like this:
$sp_db_user = "database_user";
$sp_db_pass = "password";
$sp_db = "sprypanel_web";
$sp_db_server = "fruit.sprynetwork.net";
$sp_db_pass = "password";
$sp_db = "sprypanel_web";
$sp_db_server = "fruit.sprynetwork.net";
Path settings and your web-site url will be automatically decteded by SpryPanel, however there is an option to set them yourself if you wish using the following two variables:
$site_base_uri - The URL of your web-site site
$site_base_dir - The absolute path to the http documents directory on your web server
$site_base_dir - The absolute path to the http documents directory on your web server
3. That's the hardest part of the installation process. The next step is to upload the entire 'sprypanel' directory to your web-server. You can do this through ftp access to your server. If you set up your ftp client and then simply upload the whole directory to the http document root of your web-server (something like 'httpdocs' or 'mainwebsite_html'). Make sure that you upload it to the root directory, unless you know what you are doing with your web-server's path names. Depending on the speed of your connection, this may take a short while.
Installation difficulties?
The most common difficulty that is encountered during installation is that SpryPanel cannot access your MySQL database. If this is the case you will receive an error message explaining why. You will need to then modify your site-prefs.php file as explained above with the correct access details. If you still cannot access your database please contact your server administrator as the database probably hasn't been set up correctly.
If when you attempt to access SpryPanel you are greeted with a blank screen instead of the register page you are one of the few who need a slight modification made to your php.ini file. As discussed above we have taken the measure of encoding SpryPanel's core files. This requires a dynamically loaded library in order to decode before it will run. If you receive a white page with an error message when you try to run SpryPanel for the first time, load the following address to find out how you can modify your server to use SpryPanel (its very easy :-) - http://your-site.com/sprypanel/sprypanel_system/install_info.php.
If you have any problems installing SpryPanel which isn't solved by this documentation, please feel free to contact us at support@sprypanel.com or use our support web-site.
| <-- 1.2. System Requirements | 2.0. Content Editing Functions --> |